]> git.openstreetmap.org Git - chef.git/commitdiff
Set $wgCanonicalServer to change links in confirmation emails to https
authorTigerfell <tigerfell-688@tuta.io>
Mon, 18 Feb 2019 16:37:36 +0000 (17:37 +0100)
committerTigerfell <tigerfell-688@tuta.io>
Mon, 18 Feb 2019 16:37:36 +0000 (17:37 +0100)
cookbooks/mediawiki/templates/default/LocalSettings.php.erb

index 94ffead999efc09afe30c1077d8de3d10c5f4030..f5a3ea460fdd762a00389965ebdec725e487af84 100644 (file)
@@ -25,6 +25,7 @@ $wgScriptExtension  = ".php";
 ## The protocol and server name to use in fully-qualified URLs
 $wgServer           = "//<%= @name %>";
 $wgInternalServer   = 'https://<%= @name %>';
+$wgCanonicalServer  = 'https://<%= @name %>';
 
 $wgSecureLogin = true;
 $wgDefaultUserOptions['prefershttps'] = 1;