Timeline for WebSocket Error "Unexpected close, re-opening websocket" after moving Focalboard to a subdirectory in Nginx
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 12, 2024 at 7:55 | comment | added | Richard Smith | @siqueir4 answer updated | |
| Nov 12, 2024 at 7:55 | history | edited | Richard Smith | CC BY-SA 4.0 |
Updated URL as per comment from OP
|
| Nov 11, 2024 at 18:17 | comment | added | siqueir4 |
It worked this way: location /focalboard/ws { proxy_pass http://focalboard/ws } If you use proxy_pass focalboard/ws (with the trailing slash), Nginx interprets this as an instruction to replace the full path /focalboard/ws/ with /ws/ before passing it to the server. This would cause issues since the Focalboard server expects the URL exactly as /focalboard/ws. Thank you for your help; it helped me better understand what was happening. You can close this issue. It’s resolved.
|
|
| Nov 9, 2024 at 9:28 | history | answered | Richard Smith | CC BY-SA 4.0 |