Explorar el Código

add php ngx conf

abiao hace 5 años
padre
commit
78131f4a9f
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. 2 3
      webApp/common/nginx_conf/ngx_test.conf

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

@@ -34,10 +34,9 @@ server {
     index  index.php index.html index.htm;
     try_files $uri $uri/ /index.php?$args;
 
-    location /{
-        rewrite ^(.*)/equip(d+).html$ $1/index.php?m=content&c=index&a=lists&catid=$2 last;
+    location /uploads/article/ueditor/php/upload/image{
+         root /home/www/yii2_app/webApp/frontend/web/uploads/article/ueditor/php/upload/image/;
     }
-
     location ~ \.php$ {
         fastcgi_pass   127.0.0.1:9000;
         fastcgi_index  index.php;