]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/templates/default/LocalSettings.php.erb
Tweak mediawiki SMTP configuration
[chef.git] / cookbooks / mediawiki / templates / default / LocalSettings.php.erb
index 8ef611346d35ea0668ba2149eb59635c03e60f98..b7788396f4cd4ad180007c7f9623ddc4fded42ce 100644 (file)
@@ -54,6 +54,15 @@ $wgEmailAuthentication = true;
 
 $wgEnotifUseJobQ       = true;
 
+$wgSMTP = [
+  "host" => "localhost",
+  "socket_options" => [
+    "ssl" => [
+      "verify_peer_name" => false
+    ]
+  ]
+];
+
 ## Database settings
 $wgDBtype           = "mysql";
 $wgDBserver         = "<%= @database_params[:host] %>";