From: Alexander Strizhakov Date: Fri, 4 Sep 2020 11:45:30 +0000 (+0300) Subject: fix for ReverseProxy X-Git-Url: http://git.squeep.com/?a=commitdiff_plain;h=473458b0fbecb05121b235f525aefcef34f0409e;p=akkoma fix for ReverseProxy --- diff --git a/lib/pleroma/reverse_proxy/client/hackney.ex b/lib/pleroma/reverse_proxy/client/hackney.ex index e84118a90..ad988fac3 100644 --- a/lib/pleroma/reverse_proxy/client/hackney.ex +++ b/lib/pleroma/reverse_proxy/client/hackney.ex @@ -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