config caddy

This commit is contained in:
Mateusz Gruszczyński
2026-01-02 23:26:56 +01:00
parent f4754342ae
commit 8b280f578e

View File

@@ -6,6 +6,7 @@
-X-Powered-By -X-Powered-By
-Via -Via
-Date -Date
-Content-Disposition
defer defer
} }
@@ -14,7 +15,10 @@
} }
handle @static { handle @static {
header Cache-Control "public, max-age=3600, immutable" header Cache-Control "public, max-age=3600, immutable"
header -ETag -ETag
-Content-Disposition
-Last-Modified
defer
reverse_proxy gpon-monitoring-app:{$LISTEN_PORT} reverse_proxy gpon-monitoring-app:{$LISTEN_PORT}
} }
@@ -24,6 +28,7 @@
handle @api { handle @api {
header Cache-Control "no-cache, no-store, must-revalidate" header Cache-Control "no-cache, no-store, must-revalidate"
reverse_proxy gpon-monitoring-app:{$LISTEN_PORT} reverse_proxy gpon-monitoring-app:{$LISTEN_PORT}
defer
} }
encode gzip zstd encode gzip zstd