Merge pull request #902 from bashgeek/master

Put in trailing slash to /awstats/ location in nginx config
This commit is contained in:
Michael Kaufmann
2021-01-12 12:25:22 +01:00
committed by GitHub

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