Add MEDIAWIKI_PROXY_SERVERS setting

This commit is contained in:
3wc 2023-09-03 16:51:14 +02:00
parent 3e3482b89e
commit 0db71c1730
2 changed files with 8 additions and 1 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' );

View File

@ -1,4 +1,4 @@
export LOCAL_SETTINGS_CONF_VERSION=v22
export LOCAL_SETTINGS_CONF_VERSION=v23
export HTACCESS_CONF_VERSION=v1
export ENTRYPOINT_CONF_VERSION=v20
export COMPOSER_LOCAL_CONF_VERSION=v5