Files
leox-gpon-monitoring/Caddyfile
Mateusz Gruszczyński f4754342ae caddy config
2026-01-02 23:23:31 +01:00

31 lines
597 B
Caddyfile

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