Apache proxy setup
Robert Marshall 于 7 年之前 修改了此页面

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/