Skip to content

Commit 07b64bd

Browse files
committed
Update docker-compose.yml
1 parent bf6528a commit 07b64bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ services:
108108
TZ: '${LOCAL_TIMEZONE}'
109109
labels:
110110
- "docker-volume-backup.stop-during-backup=true"
111-
command: bash -c "envsubst '$${NGINX_HOST},$${NGINX_PORT}' < /etc/nginx/templates/proxy.conf.template > /etc/nginx/conf.d/default.conf &&
112-
sh /tmp/ssl-proxyconf.sh '${DOMAIN_NAME}' '${LETSENCRYPT_CONF_PREFIX}' '${PROXY_PREFIX}'"
111+
command: bash -c "nginx -t && envsubst '$${NGINX_HOST},$${NGINX_PORT}' < /etc/nginx/templates/proxy.conf.template > /etc/nginx/conf.d/default.conf &&
112+
sh /tmp/ssl-proxyconf.sh '${DOMAIN_NAME}' '${LETSENCRYPT_CONF_PREFIX}' '${PROXY_PREFIX}' && nginx -g 'daemon off;'"
113113

114114
phpmyadmin:
115115
depends_on:

0 commit comments

Comments
 (0)