Bladeren bron

add php ngx conf

abiao 5 jaren geleden
bovenliggende
commit
78131f4a9f
1 gewijzigde bestanden met toevoegingen van 2 en 3 verwijderingen
  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;