Browse Source

[Nginx] Remove broken locations

andryyy 6 years ago
parent
commit
14901eed64
1 changed files with 0 additions and 9 deletions
  1. 0 9
      data/conf/nginx/site.conf

+ 0 - 9
data/conf/nginx/site.conf

@@ -186,14 +186,5 @@ server {
     alias /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2;
   }
 
-  location ~* \.(?:css|js|ico|woff|eot|svg|ttf|otf|png|gif|jpe?g) {
-    access_log off;
-    add_header Cache-Control public;
-  }
-
-  location ~* \.(?:css|js|woff|eot|svg|ttf|otf|png|gif|jpe?g) {
-    expires max;
-  }
-
   include /etc/nginx/conf.d/site.*.custom;
 }