I have SSL established by a physically separate server and would like to access Jupyterhub just as https://jupyter.thedomain.org (ignoring port 8000). I have other (non Jupyter) subdomains working in https via Apache on the same server. Looking at jupyterhub_config.py, might the following be set accordingly?
c.JupyterHub.bind_url = ?
c.JupyterHub.hub_bind_url = ?
c.JupyterHub.hub_connect_url = ?
c.JupyterHub.hub_connect_ip = ?
What sort of issue are you seeing?
The hub_
network configuration is all about internal jupyterhub configuration that shouldn’t be affected by putting a reverse proxy in front of the public JupyterHub endpoint. Typically, putting Apache and SSL termination in front of JupyterHub does not require any JupyterHub configuration at all unless you are also putting it on a sub path in which case setting c.JupyterHub.base_url = "/prefix/"
ought to be the only configuration needed. If they were on the same machine, you might set the JupyterHub.bind_url to use localhost, but since they aren’t, no configuration should be needed.
What Spawner and Authenticator are you using? Are users all running on the same server as the Hub?
OK, so I set c.JupyterHub.base_url = “/jupyter/”, re-issued the SSL cert for jupyter.thedomain.org, and modified Apache’s ProxyPass and related in jupyterhub.conf.
Works! Thank you.