mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 21:41:57 +00:00
43 lines
839 B
Caddyfile
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
|
|
}
|