To use the Apache HTTP server as a reverse proxy, here's how-to:
- Setup Apache and SSL as usual.
- Add modules
proxy_http, proxy_http2, proxy_wstunnel, and headers (with a2enmod <mod>).
- In your VirtualHost config add the following 2 lines:
ProxyPass / http://localhost:8000/ upgrade=websocket
RequestHeader set Origin "http://localhost:8000"
To use the Apache HTTP server as a reverse proxy, here's how-to:
proxy_http,proxy_http2,proxy_wstunnel, andheaders(witha2enmod <mod>).