From 2f9f63a8edb58c3be940e78be38d4156a79a5965 Mon Sep 17 00:00:00 2001 From: Anton Reutov Date: Sun, 24 Dec 2017 20:56:48 +0300 Subject: [PATCH] Minor fix for location vstats --- install/rhel/7/templates/web/nginx/php-fpm/opencart.stpl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install/rhel/7/templates/web/nginx/php-fpm/opencart.stpl b/install/rhel/7/templates/web/nginx/php-fpm/opencart.stpl index bf93eb969..babf82a83 100644 --- a/install/rhel/7/templates/web/nginx/php-fpm/opencart.stpl +++ b/install/rhel/7/templates/web/nginx/php-fpm/opencart.stpl @@ -45,6 +45,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*;