diff options
author | Alex S <alex.strizhakov@gmail.com> | 2019-08-16 20:04:13 +0300 |
---|---|---|
committer | Alex S <alex.strizhakov@gmail.com> | 2019-08-20 12:41:45 +0300 |
commit | 6e1408d05ac5d28123b3d62ff555df7fd118f61f (patch) | |
tree | db268c0b8392672b3c24187976e25a9ae7af3e2f | |
parent | 5e309605d2087c534e0902cbaff68f0163155929 (diff) | |
download | pleroma-6e1408d05ac5d28123b3d62ff555df7fd118f61f.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]] |