diff options
| author | Paul Buetow <paul@buetow.org> | 2022-02-12 21:28:18 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2022-02-12 21:28:18 +0000 |
| commit | edc750dae7a53cda808a552bb1603b4ec2bdb036 (patch) | |
| tree | 73b21984f6c814f5a95dfd7bf8a86d5b61a8eace /openbsd/frontends/etc | |
| parent | 0979b9bb314dba2c879049a681d72f5de74298da (diff) | |
add sidewalk.ninja
Diffstat (limited to 'openbsd/frontends/etc')
| -rw-r--r-- | openbsd/frontends/etc/httpd.conf | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/openbsd/frontends/etc/httpd.conf b/openbsd/frontends/etc/httpd.conf index bb993ff..5af3338 100644 --- a/openbsd/frontends/etc/httpd.conf +++ b/openbsd/frontends/etc/httpd.conf @@ -21,6 +21,29 @@ server "foo.zone" { } } +server "sidewalk.ninja" { + listen on * port 80 + block return 302 "https://sidewalk.ninja" +} + +server "www.sidewalk.ninja" { + listen on * port 80 + block return 302 "https://www.sidewalk.ninja" +} + +server "sidewalk.ninja" { + alias "www.sidewalk.ninja" + listen on * tls port 443 + tls { + certificate "/etc/ssl/sidewalk.ninja.fullchain.pem" + key "/etc/ssl/private/sidewalk.ninja.key" + } + location "/*" { + root "/htdocs/sidewalk.ninja" + directory auto index + } +} + server "snonux.de" { alias "www.snonux.de" listen on * port 80 |
