Files
am-d-model.eu/caddy/Caddyfile
Cian Hughes 19317688ba Revert to 99c9c693
This reverts commit a48effcdfe.

Revert "Test of monolithic caddyfile"

This reverts commit db65bf7e7b.

Revert "Added quick log fetch command to justfile"

This reverts commit 24e6305d73.

Revert "Caddy config tweak for sockets and uwsgi protocol"

This reverts commit 40ff7a3c39.
2025-01-30 17:19:31 +00:00

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
}