config caddy
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user