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:
Matt Fisher 2023-09-25 15:23:26 -06:00 committed by Philip Molares
parent 8479649582
commit 74b573e414

View file

@ -89,6 +89,14 @@ server {
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
You will need these modules enabled: `proxy`, `proxy_http` and `proxy_wstunnel`.
Here is an example config snippet: