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:
Julian Schacher
2024-02-07 19:16:32 +01:00
parent 013fec6f16
commit 75830e445b
4 changed files with 88 additions and 1 deletions

View 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"