forked from YokaiRick/akkoma
Add websocket upgrade to example nginx config.
This commit is contained in:
parent
08e7e249b1
commit
afd0ea37f3
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue