defeo / jupyterhub-docker

A configuration for a JupyterHub+DockerSpawner+CASAuthenticator server with Traefik proxy, based on docker-compose
https://opendreamkit.org/2018/10/17/jupyterhub-docker/
MIT License
201 stars 112 forks source link

Double proxies? #10

Closed bradezard131 closed 5 years ago

bradezard131 commented 5 years ago

It appears that you use two proxies in this configuration. The Traefik proxy, which is set up to run in an external container to the hub; and the normal inbuilt configurable-http-proxy which runs inside the JupyterHub container and manages all the internal routing. Is this by design? it seems strange to me to have both proxies in the same system

defeo commented 5 years ago

They play two different roles. If you want to use Traefik for both, see https://discourse.jupyter.org/t/introducing-traefikproxy-a-scalable-and-highly-available-proxy-for-jupyterhub/445