diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 87ca933..c37f9ea 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -49,8 +49,19 @@ actual.sauravdhakal.com.np { } immich.sauravdhakal.com.np { - bind 100.81.85.182 - reverse_proxy localhost:8082 + # Allow public access (no bind = all interfaces) + + # Security headers + header { + X-Content-Type-Options nosniff + X-Frame-Options DENY + Referrer-Policy strict-origin-when-cross-origin + } + + reverse_proxy localhost:8082 { + header_up X-Real-IP {remote_host} + header_up X-Forwarded-For {remote_host} + } } filebrowser.sauravdhakal.com.np {