deploy: point Caddy snippet at container on caddy_net
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
# DNS A/AAAA record for invoice-app.linumiq.com must point to this server first,
|
||||
# otherwise Caddy will fail to obtain a Let's Encrypt certificate.
|
||||
|
||||
# Caddy runs in Docker on the `caddy_net` network and reaches the app by
|
||||
# container name (the app does not publish a host port).
|
||||
invoice-app.linumiq.com {
|
||||
encode zstd gzip
|
||||
reverse_proxy 127.0.0.1:3000
|
||||
reverse_proxy linumiq-invoice:3000
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user