summaryrefslogtreecommitdiff
path: root/openbsd
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd')
-rw-r--r--openbsd/frontends/etc/httpd.conf55
1 files changed, 29 insertions, 26 deletions
diff --git a/openbsd/frontends/etc/httpd.conf b/openbsd/frontends/etc/httpd.conf
index 76e8afb..e1602bf 100644
--- a/openbsd/frontends/etc/httpd.conf
+++ b/openbsd/frontends/etc/httpd.conf
@@ -1,30 +1,5 @@
-server "default" {
- listen on * port 80
- location "/.well-known/acme-challenge/*" {
- root "/acme"
- request strip 2
- }
- location * {
- 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
- }
-}
-
server "snonux.de" {
+ alias "www.snonux.de"
listen on * tls port 443
tls {
certificate "/etc/ssl/snonux.de.fullchain.pem"
@@ -41,6 +16,7 @@ server "snonux.de" {
}
server "buetow.org" {
+ alias "www.buetow.org"
listen on * tls port 443
tls {
certificate "/etc/ssl/buetow.org.fullchain.pem"
@@ -69,3 +45,30 @@ server "dtail.dev" {
request strip 2
}
}
+
+server "default" {
+ listen on * port 80
+ location "/.well-known/acme-challenge/*" {
+ root "/acme"
+ request strip 2
+ }
+ location * {
+ 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
+ }
+}
+