From e33a3abb0e6743447584e44886f0f444ff599ca6 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 22 Jan 2022 09:40:15 +0000 Subject: www redirects to tls www --- openbsd/frontends/etc/httpd.conf | 12 ++++++++++-- openbsd/frontends/var/nsd.twofish/etc/nsd.conf | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'openbsd/frontends') 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: -- cgit v1.2.3