rgbkrk / ipython-notebook-cookbook

:book: IPython Notebook Cookbook for Deployment via Chef
Apache License 2.0
41 stars 10 forks source link

Adding nginx config to address websocket connection issue. #16

Closed rayrod2030 closed 5 years ago

rayrod2030 commented 9 years ago

Based on this stackoverflow post: http://stackoverflow.com/questions/22665809/how-to-configure-ipython-behind-nginx-in-a-subpath this nginx config allows browsers to properly communicate with the ipython noteboook server via websockets.

rgbkrk commented 7 years ago

The Origin header is there for your users' protection, this should be templatized in some way.