diff options
| -rw-r--r-- | openbsd/blowfish.buetow.org/etc/httpd.conf | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/openbsd/blowfish.buetow.org/etc/httpd.conf b/openbsd/blowfish.buetow.org/etc/httpd.conf new file mode 100644 index 0000000..4ef26ee --- /dev/null +++ b/openbsd/blowfish.buetow.org/etc/httpd.conf @@ -0,0 +1,57 @@ +server "snonux.de" { + listen on * port 80 + location "/.well-known/acme-challenge/*" { + root "/acme" + request strip 2 + } + location * { + block return 302 "https://$HTTP_HOST$REQUEST_URI" + } +} + +server "snonux.de" { + listen on * tls port 443 + tls { + certificate "/etc/ssl/snonux.de.fullchain.pem" + key "/etc/ssl/private/snonux.de.key" + } + location "/*" { + root "/htdocs/gemtexter/snonux.de" + directory auto index + } + location "/.well-known/acme-challenge/*" { + root "/acme" + request strip 2 + } +} + +server "buetow.org" { + listen on * tls port 443 + tls { + certificate "/etc/ssl/buetow.org.fullchain.pem" + key "/etc/ssl/private/buetow.org.key" + } + location "/*" { + root "/htdocs/gemtexter/buetow.org" + directory auto index + } + location "/.well-known/acme-challenge/*" { + root "/acme" + request strip 2 + } +} + +server "dtail.dev" { + listen on * tls port 443 + tls { + certificate "/etc/ssl/dtail.dev.fullchain.pem" + key "/etc/ssl/private/dtail.dev.key" + } + location * { + block return 302 "https://github.dtail.dev" + } + location "/.well-known/acme-challenge/*" { + root "/acme" + request strip 2 + } +} |
