-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TLJH always serves /hub/ regardless of base_url parameter in config.yaml #722
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
This seems like a straightforward bug associated with us not configuring traefik, but only c.JupyterHub.base_url, which isn't enough I presume. |
After hacking at it for a number of hours, I discovered that directly setting |
@OffensiveGeneric can you try verify if it breaks if a user logins - or if it breaks if a user tries to access their server? For me to follow clearly I may need to have a more clear description on "it breaks". If you are testing things, test against:
|
Is there any progress on this? If I could get TLJH running on a separate base_url, I might be able to make some progress on getting WebMO running on the same server. An alternative might be configuring jupyter-server-proxy, but I haven't had time to see if that will fit my requirements (or if it's even capable of doing the task I need). I admit I'm unable to do much on my own, as I often don't know what it is I don't know… I'm trying to pick up things as fast as I can, but I run into missing vocabulary issues. |
For those curious, this should be considered fixed by the merge of Add base_url capability to tljh-config #623. If your install is from before this merge (Nov. 5, 2020), the feature to change the base url is broken/not configured properly. |
Update by Erik - 2021-10-26
This was also reported in #655 with relevant logs.
Bug description
I am running a TLJH server on Ubuntu 20.04.3 LTS (Focal Fossa). I would like the login to be available at a path on a subdomain I own, some.domain.org/jupyter/hub (and eventually be able to serve a page at /jupyter that lists some other hubs). After searching for a while, I know that I should be able to do this with
sudo tljh-config set base_url /jupyter
and thensudo tljh-config reload proxy
. Doing this makessudo tljh-config show
show correctly that the config.yaml file has been changed, but upon inspection, nothing in the traefik rules.toml has been updated (that is, the file still looks like)What's going on here? Any workarounds?
Expected behaviour
sudo tljh-config set base_url /jupyter
and thensudo tljh-config reload proxy
should make the hub available on the path some.domain.org/jupyter/hub.Actual behaviour
sudo tljh-config set base_url /jupyter
and thensudo tljh-config show
shows correctly that the config.yaml file has been changed, but upon inspection, nothing in the traefik rules.toml has been updated.Your personal set up
OS: Ubuntu 20.04.3 LTS (Focal Fossa)
Full environment
The text was updated successfully, but these errors were encountered: