summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2016-04-20 12:48:55 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2016-04-20 12:48:55 +0000
commit847fbc983adb9941ae2fe33d274a963c0cf7b294 (patch)
treebe9e40151f50cc5e9389d2554dd2fc2368b06760 /usr.sbin/httpd
parente1250499fc1cce129c98fc9cbd13ef77d3a1159c (diff)
from tim baumgard: a location section may not include hsts;
to that, i've added alias and tls no feedback on this diff, so let's hope i'm right/.
Diffstat (limited to 'usr.sbin/httpd')
-rw-r--r--usr.sbin/httpd/httpd.conf.511
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.sbin/httpd/httpd.conf.5 b/usr.sbin/httpd/httpd.conf.5
index 785f7266f70..159b3120114 100644
--- a/usr.sbin/httpd/httpd.conf.5
+++ b/usr.sbin/httpd/httpd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: httpd.conf.5,v 1.68 2015/07/19 05:17:27 reyk Exp $
+.\" $OpenBSD: httpd.conf.5,v 1.69 2016/04/20 12:48:54 jmc Exp $
.\"
.\" Copyright (c) 2014, 2015 Reyk Floeter <reyk@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 19 2015 $
+.Dd $Mdocdate: April 20 2016 $
.Dt HTTPD.CONF 5
.Os
.Sh NAME
@@ -299,11 +299,14 @@ The
argument will be matched against the request path with shell globbing rules.
A location section may include most of the server configuration rules
except
+.Ic alias ,
.Ic connection ,
+.Ic hsts ,
.Ic listen on ,
-.Ic location
+.Ic location ,
+.Ic tcp
and
-.Ic tcp .
+.Ic tls .
.It Ic location match Ar path Brq ...
Like the
.Ic location