Explorar o código

Minor fix for location vstats

Anton Reutov %!s(int64=8) %!d(string=hai) anos
pai
achega
bf7bd2d798
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      install/rhel/5/templates/web/nginx/php-fpm/opencart.tpl

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

@@ -40,6 +40,12 @@ server {
         deny    all;
         deny    all;
         return  404;
         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/phpmyadmin.inc*;
     include     /etc/nginx/conf.d/phppgadmin.inc*;
     include     /etc/nginx/conf.d/phppgadmin.inc*;