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.
13 lines
240 B
YAML
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"
|