personal activity index (bluesky, leaflet, substack) pai.desertthunder.dev
rss bluesky
at main 31 lines 740 B view raw
1# Caddyfile for Personal Activity Index 2# Caddy automatically handles HTTPS with Let's Encrypt 3 4# Basic configuration for localhost (HTTP only) 5localhost { 6 reverse_proxy 127.0.0.1:8080 7 encode gzip zstd 8} 9 10# Configuration with custom domain 11# Uncomment and replace example.com with your domain: 12# 13# pai.example.com { 14# reverse_proxy 127.0.0.1:8080 15# encode gzip zstd 16# 17# header { 18# Referrer-Policy "no-referrer-when-downgrade" 19# X-Content-Type-Options "nosniff" 20# X-Frame-Options "SAMEORIGIN" 21# } 22# 23# # Optional: Rate limiting 24# # rate_limit { 25# # zone static { 26# # key {remote_host} 27# # events 100 28# # window 1m 29# # } 30# # } 31# }