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:
parent
5565a834b7
commit
7e48d604c0
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue