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 16:41:23 +02:00
parent 9ddb806db3
commit 71fc7e13b8

View file

@ -141,6 +141,11 @@ if [ -d "/etc/logrotate.d" ]; then
sudo chmod 0644 /etc/logrotate.d/syncthing
fi
#=================================================
# NGINX CONFIGURATION
#=================================================
ynh_print_info "Configuring nginx web server..."
# Configure Nginx
sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
sed -i "s@PORTTOCHANGE@$GUIPORT@g" ../conf/nginx.conf