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 | |
| parent | 8b71df30827dbcef343c8a3d0c315a880a2bab10 (diff) | |
www redirects to tls www
| -rw-r--r-- | openbsd/frontends/etc/httpd.conf | 12 | ||||
| -rw-r--r-- | openbsd/frontends/var/nsd.twofish/etc/nsd.conf | 2 |
2 files changed, 11 insertions, 3 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 diff --git a/openbsd/frontends/var/nsd.twofish/etc/nsd.conf b/openbsd/frontends/var/nsd.twofish/etc/nsd.conf index 2e8a8c0..339113e 100644 --- a/openbsd/frontends/var/nsd.twofish/etc/nsd.conf +++ b/openbsd/frontends/var/nsd.twofish/etc/nsd.conf @@ -2,7 +2,7 @@ include: "/var/nsd/etc/key.conf" server: hide-version: yes - verbosity: 3 + verbosity: 1 database: "" # disable database remote-control: |
