summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-07-07 21:52:41 +0300
committerPaul Buetow <paul@buetow.org>2022-07-07 21:52:41 +0300
commit251e0cb9f2b5442405a87a71e018f50b73a09995 (patch)
treea7d6f040a13d36c40439d0d8eedb2bacb8692aa6
parentfe191f5a496d69b34ee643e7aa1b51b8b5e12055 (diff)
more on snonux.land
-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"
}
}