Changed caddyfile again

This commit is contained in:
2025-01-24 15:50:43 +00:00
parent a536cf614f
commit 8525b3e8cc

View File

@@ -9,14 +9,18 @@
level DEBUG level DEBUG
} }
reverse_proxy /* site:3000 { @landing {
health_uri /health path / /contact* /about*
health_interval 30s
health_timeout 10s
health_status 200
} }
handle @landing {
route /repo/* { reverse_proxy site:3000 {
health_uri /health
health_interval 30s
health_timeout 10s
health_status 200
}
}
handle /repo* {
uri strip_prefix /repo uri strip_prefix /repo
reverse_proxy repo-placeholder:80 reverse_proxy repo-placeholder:80
} }