From: Tigerfell Date: Mon, 18 Feb 2019 16:37:36 +0000 (+0100) Subject: Set $wgCanonicalServer to change links in confirmation emails to https X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/9cdc1bd6e278b40af5624626dd70b16b2d8d280c?ds=sidebyside Set $wgCanonicalServer to change links in confirmation emails to https --- diff --git a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb index 94ffead99..f5a3ea460 100644 --- a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb +++ b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb @@ -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;