Explorar el Código

Minor fix for location vstats

Anton Reutov hace 8 años
padre
commit
be66e4a32e
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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*;