This commit is contained in:
Alex S 2019-08-16 20:52:00 +03:00 committed by Ariadne Conill
parent 93a01b3496
commit 4a0d82f727

View File

@ -90,7 +90,7 @@ defmodule Pleroma.HTTP do
tls_opts = tls_opts =
Keyword.get(options, :tls_opts, []) Keyword.get(options, :tls_opts, [])
|> Keyword.put(:server_name_indication, host) |> Keyword.put(:server_name_indication, host)
|> Keyword.put(:versions, ['tlsv1.2', 'tlsv1.1', :tlsv1]) |> Keyword.put(:versions, [:"tlsv1.2", :"tlsv1.1", :tlsv1])
Keyword.put(options, :tls_opts, tls_opts) ++ [ssl: [server_name_indication: host]] Keyword.put(options, :tls_opts, tls_opts) ++ [ssl: [server_name_indication: host]]