diff options
author | eal <eal@waifu.club> | 2017-12-07 20:07:51 +0200 |
---|---|---|
committer | eal <eal@waifu.club> | 2017-12-07 20:07:51 +0200 |
commit | afd0ea37f3284bdfa6ddce99162601615b7ad845 (patch) | |
tree | fd2e8ce444b70e56208192bd2469fc0bef75f117 | |
parent | 08e7e249b1e656bce79fec7df4ce8bf9b158855f (diff) | |
download | pleroma-afd0ea37f3284bdfa6ddce99162601615b7ad845.tar.gz pleroma-afd0ea37f3284bdfa6ddce99162601615b7ad845.zip |
Add websocket upgrade to example nginx config.
-rw-r--r-- | installation/pleroma.nginx | 3 |
1 files changed, 3 insertions, 0 deletions
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; |