Explorar el Código

Minor fix for location vstats

Anton Reutov hace 8 años
padre
commit
67c63a27f6
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      install/rhel/5/templates/web/nginx/php-fpm/opencart.stpl

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

@@ -45,6 +45,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*;