1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/syncthing_ynh.git synced 2024-09-03 20:26:23 +02:00

REMOVE NGINX CONFIGURATION

This commit is contained in:
yalh76 2019-04-13 17:24:17 +02:00
parent 3c7b832994
commit 1a35241b1a

View file

@ -82,7 +82,12 @@ then
sudo rm /etc/logrotate.d/syncthing
fi
# Remove syncthing nginx configuration
#=================================================
# REMOVE NGINX CONFIGURATION
#=================================================
ynh_print_info "Removing nginx web server configuration"
domain=$(sudo yunohost app setting syncthing domain)
sudo rm /etc/nginx/conf.d/$domain.d/syncthing.conf