Hey
I’m running bokeh server, flask app and client hosted in nginx all on the same server.
Bokeh server
server = Server({'/bk_app': sliders_modify_doc},
io_loop=IOLoop(),
prefix='/bk',
allow_websocket_origin=["localhost:1337", "localhost:8080", "localhost:80"])
server.start()
server.io_loop.start()
``
Flask app
@app.route('/bokeh')
def get():
script = server_document('/bk/bk_app', relative_urls=True, arguments=request.args)
return render_template("bokeh.html", script=script, template="Flask")
``
I configured the nginx to redirect every request starting with ‘bk’ to the bokeh server.
All files are loading as expected, but the WebSocket is stuck as pending.
(nginx is running on port 8080)
Am I missing something?
Thanks

