1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/sogo_ynh.git synced 2024-09-03 20:26:07 +02:00

fixed VARPATH removed /

This commit is contained in:
Matthew Frost 2016-03-18 21:13:23 +01:00
parent ffca76a8c3
commit e9a8a62627

View file

@ -1,5 +1,5 @@
# SOGo Proxying
location ^~ /VARPATH {
location ^~ VARPATH {
proxy_pass http://127.0.0.1:20000;
proxy_redirect http://127.0.0.1:20000/SOGo/ /SOGo;
# forward user's IP address
@ -20,13 +20,13 @@
}
location /VARPATH.woa/WebServerResources/ {
location VARPATH.woa/WebServerResources/ {
alias /usr/lib/GNUstep/SOGo/WebServerResources/;
}
location /VARPATH/WebServerResources/ {
location VARPATH/WebServerResources/ {
alias /usr/lib/GNUstep/SOGo/WebServerResources/;
}
location ^/VARPATH/so/ControlPanel/Products/([^/]*)/Resources/(.*)$ {
location ^VARPATH/so/ControlPanel/Products/([^/]*)/Resources/(.*)$ {
alias /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2;
}