Anton Reutov 8 лет назад
Родитель
Сommit
be66e4a32e
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      install/rhel/6/templates/web/nginx/php-fpm/opencart.tpl

+ 5 - 0
install/rhel/6/templates/web/nginx/php-fpm/opencart.tpl

@@ -40,6 +40,11 @@ server {
         deny    all;
         return  404;
     }
+    
+    location /vstats/ {
+        alias   %home%/%user%/web/%domain%/stats/;
+        include %home%/%user%/conf/web/%domain%.auth*;
+}
 
     include     /etc/nginx/conf.d/phpmyadmin.inc*;
     include     /etc/nginx/conf.d/phppgadmin.inc*;