Skip to content Skip to sidebar Skip to footer

Making Script Content 'safe' For Https Display (bokeh)

I was searching for a solution and came across a removed question from maria saz. Fortunately, I was able to see it cached by google. Since I have the exact same question, I borrow

Solution 1:

This issue was addressed simply by referring to the CDN address with "https://"

See the bokeh embed notes

Solution 2:

If you are proxying a Bokeh server behind a proxy that is terminating SSL, then you need to configure the proxy to pass the originating protocol on to the Bokeh server, and also use the --use-xheaders command line option to invoke the Bokeh server:

bokeh serve app_script.py--use-xheaders

Can't tell you how to forward the protocol since you haven't specified what your setup is, but there is an example for Nginx and SSL in the User's Guide:

http://docs.bokeh.org/en/latest/docs/user_guide/server.html#reverse-proxying-with-nginx-and-ssl

Post a Comment for "Making Script Content 'safe' For Https Display (bokeh)"