config caddy

This commit is contained in:
Mateusz Gruszczyński
2026-01-02 23:29:16 +01:00
parent 8b280f578e
commit 378372cb62

View File

@@ -5,8 +5,6 @@
-Server
-X-Powered-By
-Via
-Date
-Content-Disposition
defer
}
@@ -14,11 +12,13 @@
path *.css *.js
}
handle @static {
header Cache-Control "public, max-age=3600, immutable"
-ETag
-Content-Disposition
-Last-Modified
defer
header {
Cache-Control "public, max-age=31536000, immutable"
-ETag
-Content-Disposition
-Last-Modified
defer
}
reverse_proxy gpon-monitoring-app:{$LISTEN_PORT}
}
@@ -26,9 +26,11 @@
path /api/*
}
handle @api {
header Cache-Control "no-cache, no-store, must-revalidate"
header {
Cache-Control "no-cache, no-store, must-revalidate"
defer
}
reverse_proxy gpon-monitoring-app:{$LISTEN_PORT}
defer
}
encode gzip zstd