1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/duniter_ynh.git synced 2024-09-03 18:26:35 +02:00

[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

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
}