Re: Reverse-proxying: Flask app with Bokeh server on Nginx

2017-05-12 Thread Francis Daly
On Fri, May 12, 2017 at 04:28:12PM +0200, J K via nginx wrote: Hi there, > > location /bokeh/ { > > proxy_pass http://127.0.1.1:5006; > > > > # .. with the rest of directives > > } > > > > relaunch the Bokeh app with > > > > --prefix=/bokeh/ > > > > and (if takes part in the url construct

Re: Reverse-proxying: Flask app with Bokeh server on Nginx

2017-05-12 Thread Reinis Rozitis
I understand that I might have to use a method called reverse proxying, which is described here. However, I wasn't able to get it to work. Well you already do this "method called reverse proxying" with the Flask app so you have to do the same with the Bokeh app as all modern/current browsers r

Reverse-proxying: Flask app with Bokeh server on Nginx

2017-05-12 Thread J K via nginx
I have created a website with Flask that is serving a Bokeh app on a Digital Ocean VPN. Everything worked fine until I secured the server with Let's Encrypt following this tutorial . In step 3