
Stupid goaccess reverse proxy websocket port trick
Setting up live goaccess behind a reverse proxy has an arcane and stupid trick. In order to get your browser to stop trying to connect your websocket to wss://whatever.com:7890/ws where port 7890 is both nonsense (your reverse proxy is not listening there) and insecure (your browser doesn’t want to deal with this port), you must define your config to explicitly use the port it should already be using, 80 or 443 depending on ws or wss. ...