Files
leox-gpon-monitoring/Caddyfile
Mateusz Gruszczyński 378372cb62 config caddy
2026-01-02 23:29:16 +01:00

38 lines
728 B
Caddyfile

:80 {
reverse_proxy gpon-monitoring-app:{$LISTEN_PORT}
header {
-Server
-X-Powered-By
-Via
defer
}
@static {
path *.css *.js
}
handle @static {
header {
Cache-Control "public, max-age=31536000, immutable"
-ETag
-Content-Disposition
-Last-Modified
defer
}
reverse_proxy gpon-monitoring-app:{$LISTEN_PORT}
}
@api {
path /api/*
}
handle @api {
header {
Cache-Control "no-cache, no-store, must-revalidate"
defer
}
reverse_proxy gpon-monitoring-app:{$LISTEN_PORT}
}
encode gzip zstd
}