浏览代码

[Nginx] Remove broken locations

andryyy 6 年之前
父节点
当前提交
14901eed64
共有 1 个文件被更改,包括 0 次插入9 次删除
  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;
 }