|
@ -1,4 +1,4 @@ |
|
|
# $OpenBSD: httpd.conf,v 1.8 2014/08/04 17:50:48 reyk Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: httpd.conf,v 1.9 2014/08/05 18:01:10 reyk Exp $ |
|
|
|
|
|
|
|
|
# |
|
|
# |
|
|
# Macros |
|
|
# Macros |
|
@ -48,6 +48,13 @@ server "www.example.com" { |
|
|
# An HTTPS server using SSL/TLS |
|
|
# An HTTPS server using SSL/TLS |
|
|
server "secure.example.com" { |
|
|
server "secure.example.com" { |
|
|
listen on 127.0.0.1 port 443 ssl |
|
|
listen on 127.0.0.1 port 443 ssl |
|
|
|
|
|
|
|
|
|
|
|
# Define server-specific log files relative to /logs |
|
|
|
|
|
log { access "secure-access.log", error "secure-error.log" } |
|
|
|
|
|
|
|
|
|
|
|
# Increase connection limits to extend the lifetime |
|
|
|
|
|
connection { max requests 500, timeout 3600 } |
|
|
|
|
|
|
|
|
root "/htdocs/secure.example.com" |
|
|
root "/htdocs/secure.example.com" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|