diff --git a/LocalSettings.php.tmpl b/LocalSettings.php.tmpl index 5b099a4..67fe27e 100644 --- a/LocalSettings.php.tmpl +++ b/LocalSettings.php.tmpl @@ -120,6 +120,13 @@ $wgGroupPermissions['*']['read'] = false; $wgGroupPermissions['*']['read'] = true; {{ end }} +{{ if ne (env "MEDIAWIKI_PROXY_SERVERS") "" }} +// In LocalSettings.php +$wgUseCdn = true; +$wgCdnServersNoPurge = []; +$wgCdnServersNoPurge[] = "{{ env "MEDIAWIKI_PROXY_SERVERS" }}"; +{{ end }} + # Enabled skins. # The following skins were automatically enabled: wfLoadSkin( 'MonoBook' );