Apache proxy setup
Robert Marshall edytuje tę stronę 7 lat temu

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/