Fix nginx conf in docker-compose.prod

This commit is contained in:
Sam Jakos 2023-10-31 08:44:48 -05:00 committed by Chris Weaver
parent 0618b59de6
commit c6663d83d5

View File

@ -98,7 +98,7 @@ services:
# does not recieve any traffic
command: >
/bin/sh -c "sleep 10 &&
envsubst '$$\{DOMAIN\}' < /etc/nginx/conf.d/app.conf.template.dev > /etc/nginx/conf.d/app.conf &&
envsubst '$$\{DOMAIN\}' < /etc/nginx/conf.d/app.conf.template > /etc/nginx/conf.d/app.conf &&
while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\""
env_file:
- .env.nginx