diff options
Diffstat (limited to 'openbsd')
| -rw-r--r-- | openbsd/blowfish.buetow.org/etc/httpd.conf | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/openbsd/blowfish.buetow.org/etc/httpd.conf b/openbsd/blowfish.buetow.org/etc/httpd.conf index acbc2cd..5463a56 100644 --- a/openbsd/blowfish.buetow.org/etc/httpd.conf +++ b/openbsd/blowfish.buetow.org/etc/httpd.conf @@ -5,7 +5,22 @@ server "default" { request strip 2 } location * { - block return 302 "https://$HTTP_HOST$REQUEST_URI" + block return 302 "https://snonux.de" + } +} + +server "default" { + listen on * tls port 443 + tls { + certificate "/etc/ssl/buetow.org.fullchain.pem" + key "/etc/ssl/private/buetow.org.key" + } + location * { + block return 302 "https://snonux.de" + } + location "/.well-known/acme-challenge/*" { + root "/acme" + request strip 2 } } |
