summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2014-09-04 13:45:17 +0000
committerreyk <reyk@openbsd.org>2014-09-04 13:45:17 +0000
commit2fc6bb1c6c8cbf8391d8b9b41b1c03e0ee5f555c (patch)
treed40b2128881e53da8b5b65d833b4ff9ed450b3a1
parentrework how pools with large pages (>PAGE_SIZE) are implemented. (diff)
downloadwireguard-openbsd-2fc6bb1c6c8cbf8391d8b9b41b1c03e0ee5f555c.tar.xz
wireguard-openbsd-2fc6bb1c6c8cbf8391d8b9b41b1c03e0ee5f555c.zip
One line change adding the 'include' directive to the valid server
options. This allows to include external configuration files from within server and location sections, not just from global context, for example to share common configuration within multiple servers (or virtual hosts).
-rw-r--r--usr.sbin/httpd/parse.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/httpd/parse.y b/usr.sbin/httpd/parse.y
index 44cf90c68c9..02c75d5c131 100644
--- a/usr.sbin/httpd/parse.y
+++ b/usr.sbin/httpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.36 2014/08/25 14:27:54 reyk Exp $ */
+/* $OpenBSD: parse.y,v 1.37 2014/09/04 13:45:17 reyk Exp $ */
/*
* Copyright (c) 2007 - 2014 Reyk Floeter <reyk@openbsd.org>
@@ -423,6 +423,7 @@ serveroptsl : LISTEN ON STRING optssl port {
srv_conf = &parentsrv->srv_conf;
parentsrv = NULL;
}
+ | include
;
fastcgi : NO FCGI {