]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/templates/default/LocalSettings.php.erb
Set $wgCanonicalServer to change links in confirmation emails to https
[chef.git] / 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;