abiao 5 anni fa
parent
commit
210ad67633
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3 2
      webApp/common/nginx_conf/ngx_test.conf

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

@@ -33,8 +33,9 @@ server {
     root   /home/www/yii2_app/webApp/frontend/web/;
     index  index.php index.html index.htm;
     try_files $uri $uri/ /index.php?$args;
-    location /uploads {
-        root /home/www/yii2_app/webApp/frontend/web/uploads;
+
+    location /{
+        rewrite ^(.*)/equip(d+).html$ $1/index.php?m=content&c=index&a=lists&catid=$2 last;
     }
 
     location ~ \.php$ {