From c021d82f91892151407be534c6221cddddeebba9 Mon Sep 17 00:00:00 2001 From: Tobias Munk Date: Wed, 14 Sep 2016 18:49:36 +0200 Subject: [PATCH] test config before reloading --- Procfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Procfile b/Procfile index 0fa56e7..79f19a5 100644 --- a/Procfile +++ b/Procfile @@ -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