From 71fc7e13b8aa0631c4c1a3681e63e6d484554f10 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 13 Apr 2019 16:41:23 +0200 Subject: [PATCH] NGINX CONFIGURATION --- scripts/install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install b/scripts/install index e48304b..02a2228 100644 --- a/scripts/install +++ b/scripts/install @@ -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