mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
Add a warning about an NGINX pitfall and its symptom in HedgeDoc
Signed-off-by: Matt Fisher <matt.fisher@nsidc.org>
This commit is contained in:
parent
8479649582
commit
74b573e414
1 changed files with 8 additions and 0 deletions
|
@ -89,6 +89,14 @@ server {
|
||||||
ssl_dhparam ssl-dhparams.pem;
|
ssl_dhparam ssl-dhparams.pem;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
!!! warning
|
||||||
|
|
||||||
|
NGINX `proxy_pass` directives must NOT have trailing slashes. If the trailing
|
||||||
|
slashes are present, the browser will not be able to establish a WebSocket
|
||||||
|
connection to the server, and the editor interface will display an endless loading
|
||||||
|
animation.
|
||||||
|
|
||||||
### Apache
|
### Apache
|
||||||
You will need these modules enabled: `proxy`, `proxy_http` and `proxy_wstunnel`.
|
You will need these modules enabled: `proxy`, `proxy_http` and `proxy_wstunnel`.
|
||||||
Here is an example config snippet:
|
Here is an example config snippet:
|
||||||
|
|
Loading…
Reference in a new issue