Files
am-d-model.eu/caddy/Caddyfile
2025-01-24 15:50:43 +00:00

43 lines
839 B
Caddyfile

{
admin off
}
(site) {
log {
output stderr
format console
level DEBUG
}
@landing {
path / /contact* /about*
}
handle @landing {
reverse_proxy site:3000 {
health_uri /health
health_interval 30s
health_timeout 10s
health_status 200
}
}
handle /repo* {
uri strip_prefix /repo
reverse_proxy repo-placeholder:80
}
}
:80 {
header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"
import site
}
http://am-d-model.eu {
header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"
import site
}
am-d-model.eu {
header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"
import site
}