The droplet's single Caddy container terminates TLS for every site and routes each host to its upstream over proxy_net. Until now its only copy lived on the server; capture compose.yaml and the Caddyfile here, with a README covering how to add a site and reload without downtime. ACME material is git-ignored.
7 lines
231 B
Caddyfile
7 lines
231 B
Caddyfile
personaledson.com.br, app.personaledson.com.br, api.personaledson.com.br, www.personaledson.com.br {
|
|
reverse_proxy bigode-gateway-1:80
|
|
}
|
|
|
|
www.nazareonline.com.br, nazareonline.com.br {
|
|
reverse_proxy nazareonline-web-1:80
|
|
}
|