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
14 lines
526 B
Caddyfile
Executable File
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
|
|
}
|