소스 검색

add php ngx conf

abiao 5 년 전
부모
커밋
405bbb20a6
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$ {