nixpkgs/pkgs/servers/web-apps/discourse/action_mailer_ca_cert.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
533 B
Diff
Raw Normal View History

2021-03-12 11:58:31 +00:00
diff --git a/config/environments/production.rb b/config/environments/production.rb
2021-05-25 21:16:44 +00:00
index a523888a8d..422c2c1ee8 100644
2021-03-12 11:58:31 +00:00
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -32,6 +32,7 @@ Discourse::Application.configure do
user_name: GlobalSetting.smtp_user_name,
password: GlobalSetting.smtp_password,
authentication: GlobalSetting.smtp_authentication,
+ ca_file: "/etc/ssl/certs/ca-certificates.crt",
enable_starttls_auto: GlobalSetting.smtp_enable_start_tls
}