projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08e7e24
)
Add websocket upgrade to example nginx config.
author
eal
<eal@waifu.club>
Thu, 7 Dec 2017 18:07:51 +0000
(20:07 +0200)
committer
eal
<eal@waifu.club>
Thu, 7 Dec 2017 18:07:51 +0000
(20:07 +0200)
installation/pleroma.nginx
patch
|
blob
|
history
diff --git
a/installation/pleroma.nginx
b/installation/pleroma.nginx
index 1a6e1d56f4f41f9db7ac6eca775da87890069eba..6cf9f3fa0665d3fa4fd47d6d7410775cd32d51f0 100644
(file)
--- 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;