jupyter / tmpnb

Creates temporary Jupyter Notebook servers using Docker containers. [DEPRECATED - See BinderHub project]
https://github.com/jupyterhub/binderhub
BSD 3-Clause "New" or "Revised" License
528 stars 123 forks source link

Reverse proxy with subpath #281

Open willingc opened 7 years ago

willingc commented 7 years ago

From @jri-sp on June 27, 2017 16:7

Hi,

I'm following this guide: https://github.com/jupyter/tmpnb

I've set up a local installation for a workshop, which works as expected.

Now I need to reverse proxy this installation with my Apache front web server (to share public URL to users) I need to reverse proxy like this: https://my.domain/jupyterworkshop/ ----> http://localserver:8000/

Which implies final urls like https://my.domain/jupyterworkshop/user/XnXqexlEzX8f for example.

But when I'm doing my ProxyPath rule, it always redirect to https://my.domain/spawn/jupyterworkshop/

Is there a way to specify a subpath to jupyter tmpnb ?

I don't know if I'm clear, ask me questions if needed.

BTW thanks for all your work on Jupyter!

Copied from original issue: jupyterhub/configurable-http-proxy#112

willingc commented 7 years ago

From @minrk on June 28, 2017 12:50

I don't believe that tmpnb supports a base url yet, but it could be added.

rwmajor2 commented 7 years ago

I am also having this issue and would like clarity on how to set this up. Another thing I think you need to account for is setting up Apache to pass through wss:// calls, which it doesn't do by default.

harifetraram commented 6 years ago

Hi all, I would like to serve tmpnb from my Apache, I thought to put a subpath but what I see it does not work yet. I would like to know how can i redirect tmpnb with Apache. Thanks in advance