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.

12 lines
631 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
2022-09-30 20:11:34 +00:00
index 6b73c82e9d..0cefea6fc0 100644
2021-03-12 11:58:31 +00:00
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
2022-09-30 20:11:34 +00:00
@@ -32,5 +32,6 @@ Discourse::Application.configure do
2021-03-12 11:58:31 +00:00
user_name: GlobalSetting.smtp_user_name,
password: GlobalSetting.smtp_password,
authentication: GlobalSetting.smtp_authentication,
+ ca_file: "/etc/ssl/certs/ca-certificates.crt",
2022-09-30 20:11:34 +00:00
enable_starttls_auto: GlobalSetting.smtp_enable_start_tls,
open_timeout: GlobalSetting.smtp_open_timeout,
read_timeout: GlobalSetting.smtp_read_timeout