Files
it-ansible/docker_compose_applications/reverse-proxy/compose.yaml
Julian Schacher 75830e445b Deploy a reverse proxy doing PROXY Protocol
This is needed to be able to nicely host multiple services under a
single IPv4.
The reverse proxy also includes a configuration to pass requests for
acme challenge properly.
And lastly the reverse proxy is already configured for a stirling pdf,
which gets added once the DNS record for it is in place.
2024-02-07 19:16:32 +01:00

13 lines
240 B
YAML

# Links & Resources
# - https://hub.docker.com/_/nginx
services:
caddy:
image: nginx
ports:
- "80:80"
- "443:443"
volumes:
- "./nginx.conf:/etc/nginx/nginx.conf:ro"
- "./conf.d/:/etc/nginx/conf.d/:ro"