mirror of
https://github.com/Cian-H/iform-invenio.git
synced 2025-12-22 20:41:56 +00:00
This reverts commitf44e67a07d. Revert "Test of monolithic caddyfile" This reverts commita33e329cbd. Revert "Added quick log fetch command to justfile" This reverts commit 24e6305d73d729701501185cba7c96e08b21e727. Revert "Caddy config tweak for sockets and uwsgi protocol" This reverts commit1e4b5bfe8d.
41 lines
481 B
Caddyfile
41 lines
481 B
Caddyfile
import repo.caddyfile {
|
|
admin off
|
|
debug
|
|
log {
|
|
level DEBUG
|
|
}
|
|
}
|
|
|
|
(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
|
|
}
|
|
|
|
http://am-d-model.eu {
|
|
import site
|
|
}
|
|
|
|
am-d-model.eu {
|
|
import site
|
|
}
|