فهرست منبع

Minor fix for location vstats

Anton Reutov 8 سال پیش
والد
کامیت
bf7bd2d798
1فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  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;
         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*;