mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 21:41:57 +00:00
42 lines
752 B
Caddyfile
42 lines
752 B
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
|
|
reverse_proxy am-d-model-data-repository-frontend:80 {
|
|
header_up X-Forwarded-Proto https
|
|
header_up X-Forwarded-For {remote}
|
|
header_up X-Real-IP {remote}
|
|
header_up Host {host}
|
|
}
|
|
}
|
|
}
|
|
|
|
:80 {
|
|
import site
|
|
}
|
|
|
|
http://am-d-model.eu {
|
|
import site
|
|
}
|
|
|
|
am-d-model.eu {
|
|
import site
|
|
}
|