I am (still) trying to develop a workflow to make it easier for me to post interactive visualizations on my site hosted at nearlyfreespeech.net. I am using django, and the interactive bokeh app requiring running bokeh server is working in my local development environment. In my production environment have been stuck trying to get bokeh server going, and I received the following message from NFS support:
You need to specify the bind address and port number separately from the hostname used to generate URLs for the client. There is literally no single value that serves both purposes. Our system sets X-Forwarded-Host & X-Forwarded-Proto. It also handles SSL termination, including for websockets.
NFS has a simple UI form where you can set up a websocket proxy, requiring a base URI, a document root, and a port. I am honestly just guessing at this.
I have gotten bokeh serve to launch by specifying
bokeh serve test_app/ --address 0.0.0.0 --port 5006, however as the support person stated, “as with all other valid bind address options, it’s entirely unusable as a hostname.”
Any guidance would be greatly appreciated!