tls versions for gun
This commit is contained in:
parent
722f97b347
commit
a6101f0991
@ -90,6 +90,7 @@ defmodule Pleroma.HTTP do
|
||||
tls_opts =
|
||||
Keyword.get(options, :tls_opts, [])
|
||||
|> Keyword.put(:server_name_indication, host)
|
||||
|> Keyword.put(:versions, ['tlsv1.2', 'tlsv1.1', 'tlsv1'])
|
||||
|
||||
Keyword.put(options, :tls_opts, tls_opts) ++ [ssl: [server_name_indication: host]]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user