mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 21:41:57 +00:00
Changed caddyfile again
This commit is contained in:
@@ -9,14 +9,18 @@
|
||||
level DEBUG
|
||||
}
|
||||
|
||||
reverse_proxy /* site:3000 {
|
||||
health_uri /health
|
||||
health_interval 30s
|
||||
health_timeout 10s
|
||||
health_status 200
|
||||
@landing {
|
||||
path / /contact* /about*
|
||||
}
|
||||
|
||||
route /repo/* {
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user