For Nginx the following man helped me:
http://nginx.org/en/docs/http/websocket.html
EPG was the only tab and I had the following error in logs:
[ ERROR] http: 172.17.0.1: HTTP/1.0 GET /path/tvheadend/comet/ws -- 415
Working Nginx conf:
location /path/tvheadend {
proxy_pass http://127.0.0.1:9981;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
Run params:
/usr/bin/tvheadend -C -c /config --noacl --http_root /path/tvheadend