summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-07-07 20:15:38 +0200
committerAlan Pearce2023-07-07 20:15:38 +0200
commitd7fc1b31243ffe78695f93131ab2003b6f2b4baa (patch)
treee9706163278dbe24bbb75cf68803b2d6a7c7ae6b
parent3dcd97ff77e9f9f5e3ea2b97b9e15c7c1066859d (diff)
downloadwebsite-d7fc1b31243ffe78695f93131ab2003b6f2b4baa.tar.lz
website-d7fc1b31243ffe78695f93131ab2003b6f2b4baa.tar.zst
website-d7fc1b31243ffe78695f93131ab2003b6f2b4baa.zip
Add redirect lists for aln.pe
-rw-r--r--Caddyfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Caddyfile b/Caddyfile
index 7c7e0b4..9fce1be 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -20,6 +20,20 @@ http://www.alanpearce.eu {
 	redir https://alanpearce.eu{uri} permanent
 }
 
+http://aln.pe {
+	header {
+		Cache-Control max-age=86400
+		X-Content-Type-Options nosniff
+		Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
+	}
+
+	redir /pronouns https://en.pronouns.page/@alanpearce
+	redir /pronomen https://de.pronouns.page/@alanpearce
+	redir /git https://git.alanpearce.eu
+	redir /gpg https://alanpearce.eu/public_key.asc
+	redir /* https://alanpearce.eu/{uri}
+}
+
 http://alanpearce.eu {
 	advanced_metrics {
 		port 9091