From e9a8a62627fe5622cc2cc0ed38a01987d6b4a62e Mon Sep 17 00:00:00 2001 From: Matthew Frost Date: Fri, 18 Mar 2016 21:13:23 +0100 Subject: [PATCH] fixed VARPATH removed / --- conf/nginx.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; }