[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:
parent
5565a834b7
commit
7e48d604c0
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue