More caddyfile tweaks and added debug logs

This commit is contained in:
2025-01-24 15:16:05 +00:00
parent 6518570329
commit b8aad6787b

View File

@@ -3,9 +3,10 @@
} }
(site) { (site) {
route /repo/* { log {
uri strip_prefix /repo output stderr
reverse_proxy repo-placeholder:80 format console
level DEBUG
} }
reverse_proxy /* site:3000 { reverse_proxy /* site:3000 {
@@ -14,6 +15,11 @@
health_timeout 10s health_timeout 10s
health_status 200 health_status 200
} }
route /repo/* {
uri strip_prefix /repo
reverse_proxy repo-placeholder:80
}
} }
:80 { :80 {