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

NGINX CONFIGURATION

This commit is contained in:
yalh76 2019-04-13 17:41:10 +02:00
parent b907e425c6
commit 2312696340

View file

@ -39,7 +39,12 @@ ynh_print_info "Upgrading dependencies..."
sudo apt-get update -qq
sudo apt-get upgrade syncthing -y
# Update Nginx configuration
#=================================================
# NGINX CONFIGURATION
#=================================================
ynh_print_info "Upgrading nginx web server configuration..."
sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
sed -i "s@PORTTOCHANGE@$GUIPORT@g" ../conf/nginx.conf
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/syncthing.conf