Skip to content

Commit 6db7c86

Browse files
committed
correct headers definition
1 parent 68aaa32 commit 6db7c86

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

LocalSettings.d/base/cdn.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,5 @@
77
$wgInternalServer = str_replace('https://', 'http://', $wgServer);
88
$wgCdnMaxAge = 18000; // 5 hours (default)
99
$wgCdnMaxageLagged = 18000; // MediaWiki incorrectly detects lagged database due to Galera cluster architecture.
10+
$wgUsePrivateIPs = true; // Trust proxy headers from Varnish
1011
}
11-
12-
# Trust proxy headers from Varnish
13-
$wgUsePrivateIPs = true;

0 commit comments

Comments
 (0)