diff --git a/.changeset/caddy_port_8080.md b/.changeset/caddy_port_8080.md index d28d082d..1a26143c 100644 --- a/.changeset/caddy_port_8080.md +++ b/.changeset/caddy_port_8080.md @@ -2,4 +2,4 @@ sable: patch --- -Fix Caddyfile to listen on port 8080 instead of 80. The container runs with `--cap-drop=ALL`, which removes `CAP_NET_BIND_SERVICE`, making privileged ports (<1024) unavailable. +Fix Caddyfile to listen on port 8080 instead of 80. Deployment methods such as matrix-docker-ansible-deploy run the container with `--cap-drop=ALL`, which removes `CAP_NET_BIND_SERVICE` and makes privileged ports (<1024) unavailable. Beyond that specific constraint, binding directly to low-numbered ports inside a container is generally discouraged — production deployments are expected to sit behind a reverse proxy (e.g. Traefik, nginx) that handles port 80/443 externally.