Merge pull request #902 from bashgeek/master
Put in trailing slash to /awstats/ location in nginx config
This commit is contained in:
@@ -1053,7 +1053,7 @@ class Nginx extends HttpConfigBase
|
|||||||
|
|
||||||
if (Settings::Get('system.awstats_enabled') == '1') {
|
if (Settings::Get('system.awstats_enabled') == '1') {
|
||||||
// awstats
|
// awstats
|
||||||
$stats_text .= "\t" . 'location ^~ /awstats {' . "\n";
|
$stats_text .= "\t" . 'location ^~ /awstats/ {' . "\n";
|
||||||
} else {
|
} else {
|
||||||
// webalizer
|
// webalizer
|
||||||
$stats_text .= "\t" . 'location ^~ /webalizer {' . "\n";
|
$stats_text .= "\t" . 'location ^~ /webalizer {' . "\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user