mattermost / focalboard

Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.
https://www.focalboard.com
Other
20.65k stars 1.81k forks source link

Bug: ws requests don't come through in apache2 reverse proxies. #5002

Open Speiger opened 2 months ago

Speiger commented 2 months ago

Steps to reproduce the behavior

Apache2

```conf ServerName myURL.com Redirect permanent / https://myURL.com/ ServerName myURL.com ProxyPreserveHost On AllowEncodedSlashes NoDecode SSLEngine On ProxyPass /ws/ ws://127.0.0.1:8082/ ProxyPassReverse /ws/ ws://127.0.0.1:8082/ Require all granted ProxyPass http://127.0.0.1:8082/ ProxyPassReverse http://127.0.0.1:8082/ ProxyPassReverseCookieDomain 127.0.0.1 myURL.com SSLCertificateFile /etc/letsencrypt/live/myURL.com/cert.pem SSLCertificateKeyFile /etc/letsencrypt/live/myURL.com/privkey.pem SSLCertificateChainFile /etc/letsencrypt/live/myURL.com/chain.pem ProxyPass / http://localhost:8082/ nocanon ProxyPassReverse / http://localhost:8082/ ```

Expected behavior

That the focal board setup works with apache2 and is responsive and doesn't require a refresh for any change done. A best solution would be that a script for apache2 is provided.

Edition and Platform