diff --git a/conf/nginx.conf b/conf/nginx.conf index be78f75..46f05ad 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,17 +1,6 @@ -location PATHTOCHANGE/syncthing { - proxy_pass http://127.0.0.1:8080PATHTOCHANGE/syncthing; - - # Include SSOWAT user panel. - include conf.d/yunohost_panel.conf.inc; - more_clear_input_headers 'Accept-Encoding'; -} -location PATHTOCHANGE/ { +location PATHTOCHANGE/syncthing { proxy_pass http://127.0.0.1:8080/; -} -location PATHTOCHANGE/downloads { - alias /home/yunohost.syncthing/completed/; - autoindex on; - autoindex_exact_size off; + proxy_pass https://127.0.0.1:8080/; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; diff --git a/conf/run b/conf/run index 57f5192..15f2b5c 100644 --- a/conf/run +++ b/conf/run @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh export USERNAME=debian-syncthing export HOME="/home/yunohost.syncthing" diff --git a/scripts/install b/scripts/install index 889a274..b7cdc5e 100644 --- a/scripts/install +++ b/scripts/install @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash # Retrieve arguments domain=$1 diff --git a/sources/toolbar-downloads.png b/sources/toolbar-downloads.png deleted file mode 100644 index e60479f..0000000 Binary files a/sources/toolbar-downloads.png and /dev/null differ diff --git a/sources/ynh_common.css b/sources/ynh_common.css deleted file mode 100644 index ebcf246..0000000 --- a/sources/ynh_common.css +++ /dev/null @@ -1,9 +0,0 @@ - - /* Inserted by Yunohost install script */ - div#toolbar > * { - background-position: center center; - background-repeat: no-repeat; - } - div#toolbar > #toolbar-downloads { - background-image: url("images/toolbar-downloads.png"); - }