diff --git a/conf/nginx.conf b/conf/nginx.conf index c950e8d..96b7eec 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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; }