abiao лет назад: 5
Родитель
Сommit
350388fd43
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      webApp/common/nginx_conf/ngx_test.conf

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

@@ -34,9 +34,9 @@ server {
     index  index.php index.html index.htm;
     try_files $uri $uri/ /index.php?$args;
 
-    #location /uploads  {
-       # alias /home/www/yii2_app/webApp/frontend/web/uploads/;
-     #}
+    location /uploads  {
+        alias /home/www/yii2_app/webApp/frontend/web/uploads/;
+    }
 
     location ~ \.php$ {
         fastcgi_pass   127.0.0.1:9000;