瀏覽代碼

add php ngx conf

abiao 5 年之前
父節點
當前提交
6dea22afd3
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      webApp/common/nginx_conf/ngx_test.conf

+ 0 - 4
webApp/common/nginx_conf/ngx_test.conf

@@ -34,10 +34,6 @@ server {
     index  index.php index.html index.htm;
     try_files $uri $uri/ /index.php?$args;
 
-   location ~* \.(gif|jpg|png)$ {
-          root /uploads/article/ueditor/php/upload/image;
-          expires 30d;   图片的过期时间是30天
-    }
 
     location ~ \.php$ {
         fastcgi_pass   127.0.0.1:9000;