forked from coop-cloud/mediawiki
Add MEDIAWIKI_PROXY_SERVERS setting
This commit is contained in:
parent
19125b7b27
commit
dd623d7e43
|
@ -120,6 +120,13 @@ $wgGroupPermissions['*']['read'] = false;
|
||||||
$wgGroupPermissions['*']['read'] = true;
|
$wgGroupPermissions['*']['read'] = true;
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if ne (env "MEDIAWIKI_PROXY_SERVERS") "" }}
|
||||||
|
// In LocalSettings.php
|
||||||
|
$wgUseCdn = true;
|
||||||
|
$wgCdnServersNoPurge = [];
|
||||||
|
$wgCdnServersNoPurge[] = "{{ env "MEDIAWIKI_PROXY_SERVERS" }}";
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
# Enabled skins.
|
# Enabled skins.
|
||||||
# The following skins were automatically enabled:
|
# The following skins were automatically enabled:
|
||||||
wfLoadSkin( 'MonoBook' );
|
wfLoadSkin( 'MonoBook' );
|
||||||
|
|
Loading…
Reference in New Issue