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