Add edge01 Caddy configuration

This commit is contained in:
2026-08-03 12:05:11 -04:00
parent 7daba4343e
commit ea924fd405
2 changed files with 104 additions and 0 deletions
+66
View File
@@ -0,0 +1,66 @@
{
email chris@zerafa.com
}
edge01.zerafa.com {
root * /srv
encode zstd gzip
file_server
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains"
X-Content-Type-Options "nosniff"
X-Frame-Options "DENY"
Referrer-Policy "strict-origin-when-cross-origin"
-Server
}
}
git.zerafa.com {
reverse_proxy gitea:3000
}
portainer.zerafa.com {
reverse_proxy portainer:9000
}
voyager.zerafa.com {
root * /srv/voyager
encode zstd gzip
file_server
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains"
X-Content-Type-Options "nosniff"
X-Frame-Options "DENY"
Referrer-Policy "strict-origin-when-cross-origin"
-Server
}
}
mx.zerafa.com {
respond "Zerafa Mail Gateway" 200
header {
Strict-Transport-Security "max-age=31536000"
X-Content-Type-Options "nosniff"
X-Frame-Options "DENY"
-Server
}
}
rspamd.zerafa.com {
reverse_proxy rspamd:11334
header {
Strict-Transport-Security "max-age=31536000"
X-Content-Type-Options "nosniff"
X-Frame-Options "SAMEORIGIN"
Referrer-Policy "strict-origin-when-cross-origin"
-Server
}
}
adsb.zerafa.com {
reverse_proxy 192.168.161.31:8080
}