mirror of
https://github.com/YunoHost-Apps/sogo_ynh.git
synced 2024-09-03 20:26:07 +02:00
Fix
This commit is contained in:
parent
4b5085d08e
commit
2c00f6783c
3 changed files with 1 additions and 10 deletions
|
@ -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=
|
|
|
@ -1,6 +1,7 @@
|
||||||
# SOGo Proxying
|
# SOGo Proxying
|
||||||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||||
location ^~ __PATH__/ {
|
location ^~ __PATH__/ {
|
||||||
|
|
||||||
proxy_pass http://127.0.0.1:__PORT__;
|
proxy_pass http://127.0.0.1:__PORT__;
|
||||||
proxy_redirect http://127.0.0.1:__PORT__/SOGo/ /SOGo;
|
proxy_redirect http://127.0.0.1:__PORT__/SOGo/ /SOGo;
|
||||||
# forward user's IP address
|
# forward user's IP address
|
||||||
|
|
|
@ -11,10 +11,6 @@ pkg_dependencies="sogo stunnel4 memcached"
|
||||||
# DEFINE ALL COMMON FONCTIONS
|
# DEFINE ALL COMMON FONCTIONS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
install_dependance() {
|
|
||||||
ynh_install_app_dependencies sogo stunnel4 memcached
|
|
||||||
}
|
|
||||||
|
|
||||||
config_stunnel() {
|
config_stunnel() {
|
||||||
ynh_add_config --template="stunnel.conf" --destination="/etc/stunnel/$app.conf"
|
ynh_add_config --template="stunnel.conf" --destination="/etc/stunnel/$app.conf"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue