Browse Source

[Nginx] Fixes #1033

André Peters 7 years ago
parent
commit
e186e350ef
1 changed files with 2 additions and 2 deletions
  1. 2 2
      data/conf/nginx/site.conf

+ 2 - 2
data/conf/nginx/site.conf

@@ -179,7 +179,7 @@ server {
     allow all;
     allow all;
   }
   }
 
 
-  location (^/SOGo/so/ControlPanel/Products/[^/]*UI/Resources/.*\.(jpg|png|gif|css|js)$ {
+  location (^/SOGo/so/ControlPanel/Products/[^/]*UI/Resources/.*\.(jpg|png|gif|css|js)$) {
     proxy_pass http://sogo:9192/$1.SOGo/Resources/$2;
     proxy_pass http://sogo:9192/$1.SOGo/Resources/$2;
     proxy_set_header Host $http_host;
     proxy_set_header Host $http_host;
     proxy_cache sogo;
     proxy_cache sogo;
@@ -364,7 +364,7 @@ server {
     allow all;
     allow all;
   }
   }
 
 
-  location (^/SOGo/so/ControlPanel/Products/[^/]*UI/Resources/.*\.(jpg|png|gif|css|js)$ {
+  location (^/SOGo/so/ControlPanel/Products/[^/]*UI/Resources/.*\.(jpg|png|gif|css|js)$) {
     proxy_pass http://sogo:9192/$1.SOGo/Resources/$2;
     proxy_pass http://sogo:9192/$1.SOGo/Resources/$2;
     proxy_set_header Host $http_host;
     proxy_set_header Host $http_host;
     proxy_cache sogo;
     proxy_cache sogo;