Apache proxy setup
Robert Marshall editou esta páxina %!s(int64=7) %!d(string=hai) anos

Setup for use with Apache proxy is largely as typical. The primary difference is that you need to add the proxy specifically for the websocket requests and this needs to be before the http proxy.

ProxyPass /api ws://localhost:8080/api
ProxyPassReverse /api ws://localhost:8080/api
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/