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.
This commit is contained in:
12
docker_compose_applications/reverse-proxy/compose.yaml
Normal file
12
docker_compose_applications/reverse-proxy/compose.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
# 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"
|
||||
Reference in New Issue
Block a user