I found a solution for realtime report refresh (behind proxy):
Pass folowing argument to the goaccess
--ws-url=wss://yourdomain.com:443/ws
The port part is crucial, otherwise goaccess will trying to connect to its default port (7890)