Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

Reverse proxy with subpath #281

Open
willingc opened this issue Jul 16, 2017 · 3 comments
Open

Reverse proxy with subpath #281

willingc opened this issue Jul 16, 2017 · 3 comments

Comments

@willingc
Copy link
Member

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
Copy link
Member Author

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
Copy link

rwmajor2 commented Sep 9, 2017

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
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants