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:
parent
9ddb806db3
commit
71fc7e13b8
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue