mirror of
https://github.com/Cian-H/iform-invenio.git
synced 2026-06-06 05:12:02 +01:00
Another caddy fix attempt
This commit is contained in:
+23
-25
@@ -1,38 +1,36 @@
|
||||
import repo.caddyfile
|
||||
|
||||
{
|
||||
admin off
|
||||
import repo.caddyfile {
|
||||
admin off
|
||||
}
|
||||
|
||||
(site) {
|
||||
@landing {
|
||||
path / /contact* /about* /favicon.png
|
||||
}
|
||||
handle /_app/* {
|
||||
reverse_proxy site:3000
|
||||
}
|
||||
handle @landing {
|
||||
reverse_proxy site:3000 {
|
||||
health_uri /health
|
||||
health_interval 30s
|
||||
health_timeout 10s
|
||||
health_status 200
|
||||
}
|
||||
}
|
||||
handle /repo* {
|
||||
uri strip_prefix /repo
|
||||
import repo_site
|
||||
}
|
||||
@landing {
|
||||
path / /contact* /about* /favicon.png
|
||||
}
|
||||
handle /_app/* {
|
||||
reverse_proxy site:3000
|
||||
}
|
||||
handle @landing {
|
||||
reverse_proxy site:3000 {
|
||||
health_uri /health
|
||||
health_interval 30s
|
||||
health_timeout 10s
|
||||
health_status 200
|
||||
}
|
||||
}
|
||||
handle /repo* {
|
||||
uri strip_prefix /repo
|
||||
import repo_site
|
||||
}
|
||||
}
|
||||
|
||||
:80 {
|
||||
import site
|
||||
import site
|
||||
}
|
||||
|
||||
http://am-d-model.eu {
|
||||
import site
|
||||
import site
|
||||
}
|
||||
|
||||
am-d-model.eu {
|
||||
import site
|
||||
import site
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user