Files
caddy-proxy-manager/docker/caddy/Caddyfile
akanealw 99819b70ff
Some checks failed
Build and Push Docker Images (Trusted) / build-and-push (., docker/caddy/Dockerfile, caddy) (push) Has been cancelled
Build and Push Docker Images (Trusted) / build-and-push (., docker/l4-port-manager/Dockerfile, l4-port-manager) (push) Has been cancelled
Build and Push Docker Images (Trusted) / build-and-push (., docker/web/Dockerfile, web) (push) Has been cancelled
Tests / test (push) Has been cancelled
added caddy-proxy-manager for testing
2026-04-21 22:49:08 +00:00

14 lines
526 B
Caddyfile
Executable File

{
# Bound to 0.0.0.0 within the Docker network so the web container can reach it.
# Port 2019 must NOT be published to the host in docker-compose.yml.
# The origins directive restricts which Host header values are accepted.
admin 0.0.0.0:2019 {
origins caddy:2019 localhost:2019 localhost
}
}
# Default HTTP-only site to avoid certificate errors on startup
http://{$PRIMARY_DOMAIN:caddyproxymanager.com}, http://localhost {
respond "Caddy Proxy Manager is running - configure proxy hosts via the web interface" 200
}