mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-23 05:51:57 +00:00
Changed caddyfile again
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user