소스 검색

add php ngx conf

abiao 5 년 전
부모
커밋
3823334618
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      webApp/common/nginx_conf/ngx_test.conf

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

@@ -34,8 +34,8 @@ server {
     index  index.php index.html index.htm;
     try_files $uri $uri/ /index.php?$args;
 
-    location /uploads/article/ueditor/php/upload/image{
-         root /home/www/yii2_app/webApp/frontend/web/uploads/article/ueditor/php/upload/image/;
+    location ~ \uploads{
+         root /home/www/yii2_app/webApp/frontend/web/uploads/;
     }
     location ~ \.php$ {
         fastcgi_pass   127.0.0.1:9000;