summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2019-07-13 11:55:09 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2019-07-13 11:55:09 +0000
commit9497d14f09dc76535dda47fc4257c51ef07a3f56 (patch)
tree6bbe37740764bde615e18e36f5e36d5e19f49966 /config
parent02cdedbf9fdf27d8dca78caf75f6413cd2566e3e (diff)
parent29ffe81c2e2235ed723516e74a50b025af688b9b (diff)
downloadpleroma-9497d14f09dc76535dda47fc4257c51ef07a3f56.tar.gz
pleroma-9497d14f09dc76535dda47fc4257c51ef07a3f56.zip
Merge branch 'fix/hackney-global-options' into 'develop'
Merge the default options with custom ones in ReverseProxy and Pleroma.HTTP and workaround for remote server certificate chain issues See merge request pleroma/pleroma!1409
Diffstat (limited to 'config')
-rw-r--r--config/config.exs2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs
index 99b500993..eb663f3ec 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -194,6 +194,8 @@ config :pleroma, :http,
send_user_agent: true,
adapter: [
ssl_options: [
+ # Workaround for remote server certificate chain issues
+ partial_chain: &:hackney_connect.partial_chain/1,
# We don't support TLS v1.3 yet
versions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"]
]