Add MEDIAWIKI_PROXY_SERVERS setting

This commit is contained in:
3wc 2023-09-03 16:51:14 +02:00 committed by Flancian
parent 19125b7b27
commit dd623d7e43
1 changed files with 7 additions and 0 deletions

View File

@ -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' );