diff options
author | Alex S <alex.strizhakov@gmail.com> | 2019-08-16 20:04:13 +0300 |
---|---|---|
committer | Ariadne Conill <ariadne@dereferenced.org> | 2019-08-18 22:34:14 +0000 |
commit | a6101f0991f63b82951853c56b43f0b6383cdaf9 (patch) | |
tree | f2fd90094d40d35e49203867eee30277cd688232 | |
parent | 722f97b347b70f67eb1164452100a8fba3c89e94 (diff) | |
download | pleroma-a6101f0991f63b82951853c56b43f0b6383cdaf9.tar.gz |
tls versions for gun
-rw-r--r-- | lib/pleroma/http/http.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/http/http.ex b/lib/pleroma/http/http.ex index a7f42d0c0..9339532af 100644 --- a/lib/pleroma/http/http.ex +++ b/lib/pleroma/http/http.ex @@ -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]] |