diff options
| author | Paul Buetow <paul@buetow.org> | 2022-01-22 09:40:15 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2022-01-22 09:40:15 +0000 |
| commit | e33a3abb0e6743447584e44886f0f444ff599ca6 (patch) | |
| tree | 4aca3c05dc4b7f241f47287e24a123b5fd7197c6 /openbsd/frontends/etc | |
| parent | 8b71df30827dbcef343c8a3d0c315a880a2bab10 (diff) | |
www redirects to tls www
Diffstat (limited to 'openbsd/frontends/etc')
| -rw-r--r-- | openbsd/frontends/etc/httpd.conf | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/openbsd/frontends/etc/httpd.conf b/openbsd/frontends/etc/httpd.conf index e5411b7..e10ff0b 100644 --- a/openbsd/frontends/etc/httpd.conf +++ b/openbsd/frontends/etc/httpd.conf @@ -1,9 +1,13 @@ server "snonux.de" { - alias "www.snonux.de" listen on * port 80 block return 302 "https://snonux.de" } +server "www.snonux.de" { + listen on * port 80 + block return 302 "https://www.snonux.de" +} + server "snonux.de" { alias "www.snonux.de" listen on * tls port 443 @@ -18,11 +22,15 @@ server "snonux.de" { } server "buetow.org" { - alias "www.buetow.org" listen on * port 80 block return 302 "https://buetow.org" } +server "www.buetow.org" { + listen on * port 80 + block return 302 "https://www.buetow.org" +} + server "paul.buetow.org" { alias "contact.buetow.org" listen on * port 80 |
