forked from potsda.mn/mobilizon
fix(docker): convert smtp tls sni to char list
Signed-off-by: Hugo Renard <hugo.renard@protonmail.com> Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
6797ceea4b
commit
b3be7c6a20
|
@ -129,7 +129,7 @@ config :mobilizon, Mobilizon.Web.Email.Mailer,
|
|||
verify: :verify_peer,
|
||||
versions: [:"tlsv1.2", :"tlsv1.3"],
|
||||
cacerts: :public_key.cacerts_get(),
|
||||
server_name_indication: "localhost",
|
||||
server_name_indication: ~c"localhost",
|
||||
depth: 99
|
||||
],
|
||||
retries: 1,
|
||||
|
|
|
@ -55,7 +55,7 @@ config :mobilizon, Mobilizon.Web.Email.Mailer,
|
|||
verify: :verify_peer,
|
||||
versions: [:"tlsv1.2", :"tlsv1.3"],
|
||||
cacerts: :public_key.cacerts_get(),
|
||||
server_name_indication: System.get_env("MOBILIZON_SMTP_SERVER", "localhost"),
|
||||
server_name_indication: ~c"#{System.get_env("MOBILIZON_SMTP_SERVER", "localhost")}",
|
||||
depth: 99
|
||||
],
|
||||
ssl: System.get_env("MOBILIZON_SMTP_SSL", "false"),
|
||||
|
|
Loading…
Reference in a new issue