From 7e48d604c00170d51535b37bdcbaee253f424f13 Mon Sep 17 00:00:00 2001 From: Moul Date: Sat, 25 Feb 2017 12:09:07 +0100 Subject: [PATCH] =?UTF-8?q?[mod]=20:=C2=A0#28:=20pass=20tests:=20remove=20?= =?UTF-8?q?nginx=20conf=20check=20before=20reloading.=20-=20on=20dev=20env?= =?UTF-8?q?,=20'nginx=20-t'=20check=20can't=20found=20the=20associate=20do?= =?UTF-8?q?main=20name.=20-=20it=20have=20to=20be=20manually=20put=20on=20?= =?UTF-8?q?the=20'/etc/hosts/'=20file.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/functions.sh b/scripts/functions.sh index 1e4bf01..61480c6 100644 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -40,5 +40,5 @@ nginx_conf="../conf/nginx.conf" sudo sed -i "s@YNH_EXAMPLE_PORT@$port@" $nginx_conf sudo sed -i "s@YNH_EXAMPLE_DOMAIN@$domain@" $nginx_conf sudo cp $nginx_conf /etc/nginx/conf.d/$domain.d/$app.conf -sudo nginx -t && sudo service nginx reload +sudo service nginx reload }