test config before reloading

This commit is contained in:
Tobias Munk 2016-09-14 18:49:36 +02:00 committed by GitHub
parent f02bc98a6e
commit c021d82f91

View file

@ -1,2 +1,2 @@
nginx: nginx
dockergen: docker-gen -watch -notify "nginx -s reload" /app/nginx.tmpl /etc/nginx/conf.d/default.conf
dockergen: docker-gen -watch -notify "nginx -t && nginx -s reload" /app/nginx.tmpl /etc/nginx/conf.d/default.conf