فهرست منبع

Minor fix for location vstats

Anton Reutov 8 سال پیش
والد
کامیت
c772626a02
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 5 0
      install/rhel/7/templates/web/nginx/php-fpm/opencart.tpl

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

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