Skip to content

Commit

Permalink
refactor: Fix cdn ips
Browse files Browse the repository at this point in the history
  • Loading branch information
octfx committed Jan 15, 2024
1 parent 78fde32 commit e385fea
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions config/system/cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,17 @@

$wgUseCdn = true;

$wgCdnServers = [
'172.16.0.2',
];
//$wgCdnServers = [
// '172.16.0.2',
//];

$wgFileCacheDirectory = '/var/www/cache';
$wgCacheDirectory = "/var/www/cache/$wgDBname";

$wgUsePrivateIPs = true;
$wgCdnServersNoPurge = [
'10.0.0.0/8',
'172.16.0.0/29',
'173.245.48.0/20',
'103.21.244.0/22',
'103.22.200.0/22',
Expand Down

0 comments on commit e385fea

Please sign in to comment.