From 17a64c58c278edd2d3334df680d3538ba7768f21 Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 31 Dec 2020 16:01:42 +0800 Subject: [PATCH] Put in a trailing "/" for /awstats/ location --- lib/Froxlor/Cron/Http/Nginx.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Froxlor/Cron/Http/Nginx.php b/lib/Froxlor/Cron/Http/Nginx.php index 4c49628a..393f3cf4 100644 --- a/lib/Froxlor/Cron/Http/Nginx.php +++ b/lib/Froxlor/Cron/Http/Nginx.php @@ -1053,7 +1053,7 @@ class Nginx extends HttpConfigBase if (Settings::Get('system.awstats_enabled') == '1') { // awstats - $stats_text .= "\t" . 'location ^~ /awstats {' . "\n"; + $stats_text .= "\t" . 'location ^~ /awstats/ {' . "\n"; } else { // webalizer $stats_text .= "\t" . 'location ^~ /webalizer {' . "\n";