From c772626a026f8481b6a642476e296429faa25367 Mon Sep 17 00:00:00 2001 From: Anton Reutov Date: Sun, 24 Dec 2017 20:57:04 +0300 Subject: [PATCH] Minor fix for location vstats --- install/rhel/7/templates/web/nginx/php-fpm/opencart.tpl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install/rhel/7/templates/web/nginx/php-fpm/opencart.tpl b/install/rhel/7/templates/web/nginx/php-fpm/opencart.tpl index 65c98c0d8..e526ab062 100644 --- a/install/rhel/7/templates/web/nginx/php-fpm/opencart.tpl +++ b/install/rhel/7/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*;