about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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