fix for ReverseProxy

This commit is contained in:
Alexander Strizhakov 2020-09-04 14:45:30 +03:00
parent 8bd2b6eb13
commit 473458b0fb
No known key found for this signature in database
GPG key ID: 022896A53AEF1381

View file

@ -7,6 +7,7 @@ defmodule Pleroma.ReverseProxy.Client.Hackney do
@impl true
def request(method, url, headers, body, opts \\ []) do
opts = Keyword.put(opts, :ssl_options, versions: [:"tlsv1.2", :"tlsv1.1", :tlsv1])
:hackney.request(method, url, headers, body, opts)
end