docs: help with $connection_upgrade
Closes https://github.com/ssb-ngi-pointer/go-ssb-room/issues/260.
This commit is contained in:
parent
f09ca6aff3
commit
114f1682a3
|
@ -111,6 +111,17 @@ is often added automatically by your provider.
|
||||||
|
|
||||||
When the process is complete with `certbot`, restart your server, e.g. `systemctl restart nginx`.
|
When the process is complete with `certbot`, restart your server, e.g. `systemctl restart nginx`.
|
||||||
|
|
||||||
|
If you see such errors as the following when setting up your deployment:
|
||||||
|
|
||||||
|
```
|
||||||
|
nginx: [emerg] unknown "connection_upgrade" variable
|
||||||
|
```
|
||||||
|
|
||||||
|
You may need to configure `$connection_upgrade` in your
|
||||||
|
`/etc/nginx/nginx.conf`. See [this
|
||||||
|
article](https://futurestud.io/tutorials/nginx-how-to-fix-unknown-connection_upgrade-variable)
|
||||||
|
for more.
|
||||||
|
|
||||||
## Enable TCP ports
|
## Enable TCP ports
|
||||||
|
|
||||||
For your room to fully work the following **TCP** ports need to be allowed:
|
For your room to fully work the following **TCP** ports need to be allowed:
|
||||||
|
|
|
@ -21,6 +21,8 @@ server {
|
||||||
# for websocket
|
# for websocket
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
# requires a $connection_upgrade definition in /etc/nginx/nginx.conf
|
||||||
|
# see https://futurestud.io/tutorials/nginx-how-to-fix-unknown-connection_upgrade-variable
|
||||||
proxy_set_header Connection $connection_upgrade;
|
proxy_set_header Connection $connection_upgrade;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue