Hi, my name is Adrián.
First thank you to Bokeh team because you have created a very usefull and potencially package. I’m newbie with server configuration and I’m having problems to redirect http Bokeh server traffic to https. I have the certificates validated for my server but It is impossible for me redirect that traffic to https. The obvious error that the browsers retrieve is “Blocked mixing content…” by this mix off http and https.
I’m using WSGI to manage flask apps and Bokeh server is appended to one of them. The example configure that is present in the documentation is for base url but in my case is different:
command = “bokeh serve app1.py app2.py --allow-websocket-origin=host --port=5006 --address host --use-xheaders &”
script_1 = server_document(host + “/app1”)
“graphic.html”, app1=script_1, template=“Flask”
Header set X-Forwarded-Proto “https”
Header always set Content-Security-Policy “upgrade-insecure-requests;”
The base url is “https ://host/app1” and the Bokeh server is “http ://host:5006/app1”. If someone knows about my case or similiar share your knowloadge with me, please.
Thank you for your time. If you need help about something I can do as possible I can.