jupyter / notebook

Jupyter Interactive Notebook
https://jupyter-notebook.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
11.72k stars 4.96k forks source link

can't create / edit file when using custom subdomain #3376

Open cloga opened 6 years ago

cloga commented 6 years ago

Hi All,

When I use a subdomain for jupyter notebook, though I can view the content, but when I want to edit or create new file I will get a error.

image

When I use ip all things is OK.

JustinQiong commented 6 years ago

I have this issue too. Hopefully the maintain team will fix this soon.

cloga commented 6 years ago

I figure the steps here to help the others who will need these information.

First, I modified the jupyter_notebook_config.py to allow origin

c.NotebookApp.allow_origin = '*'

Now I can create notebook and modified content in notebooks, but jupyter can't connected kernels. Under my great friends' helping, I add some line to nginx config, to allow websocket reposts. image

Finally, I resolved this issue.