From: eal Date: Thu, 7 Dec 2017 18:07:51 +0000 (+0200) Subject: Add websocket upgrade to example nginx config. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=afd0ea37f3284bdfa6ddce99162601615b7ad845;p=akkoma Add websocket upgrade to example nginx config. --- diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx index 1a6e1d56f..6cf9f3fa0 100644 --- a/installation/pleroma.nginx +++ b/installation/pleroma.nginx @@ -19,6 +19,9 @@ server { server_name example.tld; location / { + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; proxy_pass http://localhost:4000; } include snippets/well-known.conf;