From 5d21ca23cde3e5137ba4272667ccfb82762e20ae Mon Sep 17 00:00:00 2001 From: Conrad Schulz Date: Sat, 9 Jan 2021 18:26:24 +0100 Subject: [PATCH] Update for trusted Proxys --- example.LocalSettings.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/example.LocalSettings.php b/example.LocalSettings.php index e304916..69d787c 100644 --- a/example.LocalSettings.php +++ b/example.LocalSettings.php @@ -32,6 +32,11 @@ $wgScriptPath = ""; ## The protocol and server name to use in fully-qualified URLs $wgServer = "https://wiki.rd13server.de"; +# Add Trusted Proxys +$wgUseCdn = true; +$wgCdnServers = array(); +$wgCdnServers[] = "192.168.178.5"; + ## The URL path to static resources (images, scripts, etc.) $wgResourceBasePath = $wgScriptPath;