summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/httpd.conf.5
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2014-11-11 15:54:46 +0000
committerBob Beck <beck@cvs.openbsd.org>2014-11-11 15:54:46 +0000
commita12efea339192716b651734e013df4c0bde36316 (patch)
treefb8cc384f7185dd4b31eb55f4c26e67aac826e02 /usr.sbin/httpd/httpd.conf.5
parent468de3bb3a6aeabc3a7f124039f1acf8fd861817 (diff)
Allow the log directory to be configurable in the config file, rather than
fixed as /logs within the chroot. As this httpd is properly privesp'ed this has the nice property of allowing us to put the logs outside the chroot if we want to. ok reyk@
Diffstat (limited to 'usr.sbin/httpd/httpd.conf.5')
-rw-r--r--usr.sbin/httpd/httpd.conf.512
1 files changed, 9 insertions, 3 deletions
diff --git a/usr.sbin/httpd/httpd.conf.5 b/usr.sbin/httpd/httpd.conf.5
index 6d267d6a539..8c9269afba5 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.34 2014/09/01 12:22:38 jmc Exp $
+.\" $OpenBSD: httpd.conf.5,v 1.35 2014/11/11 15:54:45 beck Exp $
.\"
.\" Copyright (c) 2014 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: September 1 2014 $
+.Dd $Mdocdate: November 11 2014 $
.Dt HTTPD.CONF 5
.Os
.Sh NAME
@@ -109,7 +109,13 @@ This increases the performance and prevents delays when connecting
to a server.
.Xr httpd 8
runs 3 server processes by default.
-.El
+.It Ic logdir Ar directory
+Specifies the full path of the directory in which log files will be written.
+If not specified, it defaults to
+.Pa /logs
+within the
+.Xr chroot 2
+directory.
.Sh SERVERS
The configured web servers.
.Pp