summaryrefslogtreecommitdiff
path: root/frontends/etc
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/etc')
-rw-r--r--frontends/etc/httpd.conf25
1 files changed, 24 insertions, 1 deletions
diff --git a/frontends/etc/httpd.conf b/frontends/etc/httpd.conf
index 41cde32..044849e 100644
--- a/frontends/etc/httpd.conf
+++ b/frontends/etc/httpd.conf
@@ -21,6 +21,29 @@ server "foo.zone" {
}
}
+server "snonux.land" {
+ listen on * port 80
+ block return 302 "https://snonux.land"
+}
+
+server "www.snonux.land" {
+ listen on * port 80
+ block return 302 "https://www.snonux.land"
+}
+
+server "snonux.land" {
+ alias "www.snonux.land"
+ listen on * tls port 443
+ tls {
+ certificate "/etc/ssl/foo.zone.fullchain.pem"
+ key "/etc/ssl/private/foo.zone.key"
+ }
+ location "/*" {
+ root "/htdocs/gemtexter/foo.zone/notes"
+ directory auto index
+ }
+}
+
server "irregular.ninja" {
listen on * port 80
block return 302 "https://irregular.ninja"
@@ -121,7 +144,7 @@ server "buetow.org" {
directory auto index
}
location match "/.*" {
- block return 302 "https://foo.zone$REQUEST_URI"
+ block return 302 "https://foo.zone$REQUEST_URI"
}
}