retrolab icon indicating copy to clipboard operation
retrolab copied to clipboard

404 behind a reverse proxy

Open DuckieNukeEm opened this issue 4 years ago • 2 comments

My jupyter lab sits behind a reverse proxy, I added this exstension, showed up fine. When I click to have jupyter lab pop over to jupyter classic, I get a 404 error. What should I add to nginx help resolve this?

DuckieNukeEm avatar Jan 23 '21 20:01 DuckieNukeEm

@DuckieNukeEm could it be because the JupyterLab classic urls such as /classic/notebooks and /classic/tree are not allowed?

jtpio avatar Jan 24 '21 18:01 jtpio

That was my thought, and have modified the rules to allow it:

 location ~* /jupyter/(api/kernels/[^/]+/(channels|iopub|shell|stdin)|terminals/websocket|classic)/ {
STUFF 
}

As my 8th grade math teacher would say, No go joe (IE, didn't work)

Would I need to modify ...|classic to ...|classic/notebooks|/classic/tree?

DuckieNukeEm avatar Jan 28 '21 15:01 DuckieNukeEm

Closing as RetroLab is now being developed as Notebook 7 in https://github.com/jupyter/notebook.

Feel free to open a new issue in https://github.com/jupyter/notebook if you would like to discuss this more, thanks!

jtpio avatar Feb 16 '23 13:02 jtpio