Reverse-proxying: Flask app with Bokeh server on Nginx

Reinis Rozitis r at
Fri May 12 15:33:47 UTC 2017

What I forgot to add you need to change the 'url' (note the domain part) to:


by looking at your error messages it seems that the 'url' is also directly 
used for client requests (probably placed in the html templated) - which 
means you can't use plain IP because then the browser most likely will just 
generate a SSL certificate and domain mismatch.


More information about the nginx mailing list