瀏覽代碼

add php ngx conf

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

+ 1 - 1
webApp/common/nginx_conf/ngx_test.conf

@@ -34,7 +34,7 @@ server {
     index  index.php index.html index.htm;
     try_files $uri $uri/ /index.php?$args;
 
-    location ~ \uploads${
+    location ~ /uploads${
          root /home/www/yii2_app/webApp/frontend/web/uploads/;
     }
     location ~ \.php$ {