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
b907e425c6
commit
2312696340
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue