Put in a trailing "/" for /awstats/ location

This commit is contained in:
Daniel
2020-12-31 16:01:42 +08:00
committed by GitHub
parent 0ca38cff31
commit 17a64c58c2

View File

@@ -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";