I am relativly new to bokeh. But i worked before with django. But i wanted to try out Bokeh. Actually I have a bokeh app finished reading sensor data on a raspberry pi 4 with ubuntu server 22 installed.
Now what I am trying is to make the reverse proxy connection using nginx like provided in the documentation but what I get is a blank white page.
I have controlled with mozilla developer tools.
Maybe a clean and better documentation or basic example on how to reverse proxy with nginx would be fine.
I struggled with this a couple of years ago and now have dozens of bokeh servers running behind nginx reverse proxy on several servers and found a recipe that works for bokeh server, nginx reverse proxy and django/gunicorn with a FQDN SSL website.
I still have no idea exactly what is behind the nginx magic but I found I needed both the URL and websocket in the nginx code and to take care with ‘/’ between bokeh, nginx and django URLs.
As concrete example assume you run a standard bokeh server for example like this (inside a systemd.service):-
The test_server.html is like bokeh docs examples but you must ensure to load the right version of bokeh in the scripts compared to your bokeh server or you might get blank page.