diff --git a/conf/app.src b/conf/app.src deleted file mode 100644 index e4dd89f..0000000 --- a/conf/app.src +++ /dev/null @@ -1,6 +0,0 @@ -SOURCE_URL=url of app's source -SOURCE_SUM=sha256 checksum -SOURCE_SUM_PRG=sha256sum -SOURCE_FORMAT=tar.gz -SOURCE_IN_SUBDIR=true -SOURCE_FILENAME= diff --git a/conf/nginx.conf b/conf/nginx.conf index 9ee8171..6230e22 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,6 +1,7 @@ # SOGo Proxying #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location ^~ __PATH__/ { + proxy_pass http://127.0.0.1:__PORT__; proxy_redirect http://127.0.0.1:__PORT__/SOGo/ /SOGo; # forward user's IP address diff --git a/scripts/_common.sh b/scripts/_common.sh index 26497e2..ddd0f8c 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -11,10 +11,6 @@ pkg_dependencies="sogo stunnel4 memcached" # DEFINE ALL COMMON FONCTIONS #================================================= -install_dependance() { - ynh_install_app_dependencies sogo stunnel4 memcached -} - config_stunnel() { ynh_add_config --template="stunnel.conf" --destination="/etc/stunnel/$app.conf"