|
@ -1,8 +1,7 @@ |
|
|
# $OpenBSD: httpd.conf,v 1.18 2018/03/23 11:36:41 florian Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: httpd.conf,v 1.19 2018/04/11 15:51:50 florian Exp $ |
|
|
|
|
|
|
|
|
server "example.com" { |
|
|
server "example.com" { |
|
|
listen on * port 80 |
|
|
listen on * port 80 |
|
|
listen on :: port 80 |
|
|
|
|
|
location "/.well-known/acme-challenge/*" { |
|
|
location "/.well-known/acme-challenge/*" { |
|
|
root "/acme" |
|
|
root "/acme" |
|
|
root strip 2 |
|
|
root strip 2 |
|
@ -14,7 +13,6 @@ server "example.com" { |
|
|
|
|
|
|
|
|
server "example.com" { |
|
|
server "example.com" { |
|
|
listen on * tls port 443 |
|
|
listen on * tls port 443 |
|
|
listen on :: tls port 443 |
|
|
|
|
|
tls { |
|
|
tls { |
|
|
certificate "/etc/ssl/example.com.fullchain.pem" |
|
|
certificate "/etc/ssl/example.com.fullchain.pem" |
|
|
key "/etc/ssl/private/example.com.key" |
|
|
key "/etc/ssl/private/example.com.key" |
|
|