mirror of
https://github.com/Cian-H/iform-invenio.git
synced 2025-12-22 20:41:56 +00:00
Trying new caddy config
This commit is contained in:
@@ -3,17 +3,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
(site) {
|
(site) {
|
||||||
reverse_proxy site:3000 {
|
route /repo/* {
|
||||||
|
uri strip_prefix /repo
|
||||||
|
reverse_proxy repo-placeholder:80
|
||||||
|
}
|
||||||
|
|
||||||
|
reverse_proxy /* site:3000 {
|
||||||
health_uri /health
|
health_uri /health
|
||||||
health_interval 30s
|
health_interval 30s
|
||||||
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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user