[mod] : #28: pass tests: remove nginx conf check before reloading.

- on dev env, 'nginx -t' check can't found the associate domain name.
- it have to be manually put on the '/etc/hosts/' file.
This commit is contained in:
Moul 2017-02-25 12:09:07 +01:00
parent 5565a834b7
commit 7e48d604c0
1 changed files with 1 additions and 1 deletions

View File

@ -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
}