How do I deploy behind reverse proxy

I’m trying to deploy a Panel application on k8s and using ingress (reverse proxy). I will be serving the app at domain/us-trading/panel.

I do this using panel.serve with a prefix.


After working around other Panel “bugs” reported on Github the one thing outstanding is websocket connection.

WebSocket connection to 'wss://...../ws' failed: Error during WebSocket handshake: Unexpected response code: 403

Any ideas how to solve this?


The problem was not related to reverse proxying, k8s or anything. I just needed to allow the host :slight_smile: