Thank you for your quick response Bryan! Everything you said so far makes sense - that Bokeh server needs to have a direct websocket in order to maintain all the interactivity. Maybe I need to ask my question a different way.
Let’s say I have a Bokeh application running on computer A (let’s say port 5000) and that access to computer A is only allowed through https://mydomain.com (port 443). I can use NGINX to redirect the url (https://mydomain.com) to the port for Bokeh (localhost:5000) with no issue and I can get the Bokeh plot to render and keep all the interactivity.
Now let’s say I add an intermediate redirect step, either Flask/Django, so that it can handle additional APIs/features/functions. In this scenario, I would like to redirect using NGINX https://mydomain.com (port 443) → Flask/Django intermediate (port 5001), which works. I then would like to re-direct Flask to Bokeh (port 5000).
As in the initial question, I had hoped that server_document will allow me to achieve that redirect (from localhost:5001 → localhost:5000), but from your response, it sounds like I also need to set the websocket somehow to access 5001, but also through port 443 in order to connect to Bokeh? A bit of a long shot and a tall ask, I know, but do you have any ideas on how to achieve this?
Thanks again for you response so far and any help you can give.