1.1.0 Release caddy-app

This commit is contained in:
2026-03-15 04:56:21 +09:00
parent a7365da431
commit 6cd26eb7d8
6 changed files with 72 additions and 4 deletions

View File

@@ -28,17 +28,23 @@ test.ilnmors.com
import crowdsec_log
route {
crowdsec
reverse_proxy https://test.app.ilnmors.internal
reverse_proxy https://test.app.ilnmors.internal {
header_up Host {http.reverse_proxy.upstream.host}
}
}
}
# App server
{
servers {
trusted_proxies static {{ hostvars['fw']['network4']['auth']['server'] }} {{ hostvars['fw']['network6']['auth']['server'] }}
}
}
test.app.ilnmors.internal
{
import internal_tls
trusted_proxies {{ hostvars['fw']['network4']['auth']['server'] }} {{ hostvars['fw']['network6']['auth']['server'] }}
route {
reverse_proxy host.containers.internal:3000 {
header_up Host {header.X-Forwarded-Host} {Host}
header_up Host {http.request.header.X-Forwarded-Host}
}
}
}