Greetings.
It's not clear how I configure JuypterHub to run with plain HTTP rather
than HTTPS, or how to have it listen on two separate interfaces.
I plan to terminate SSL in an nginx reverse proxy, so I want JupyterHub
to to run without SSL. I can't work out quite how to do that: that is,
I might be reporting a documentation issue here, rather than a
functionality one.
The page
<
http://jupyterhub.readthedocs.io/en/latest/getting-started/security-basics.html>
implies, but doesn't quite state, that if one simply omits
c.JupyterHub.ssl_key and .ssl_cert, then the server will run
successfully without SSL. If that is the case, then that page could
usefully be more explicit about that. (I could of course just try this
in a test server and see what happens, but partly for the doc-bug, and
partly for the reason below, that wouldn't quite answer my question).
The section 'If SSL termination happens outside of the Hub' makes it
clear that this (no SSL) is a possible configuration, but isn't clear
how to get to that.
My situation is that I have a production JupyterHub running with SSL on
port 8000, but I want to have this live instead behind an nginx proxy on
the same machine. Thus I want to deprecate the port-8000 service in
favour of the proxied one, but not yet remove it. Thus I'd like to have
the JuypterHub running on port 8000 with SSL, and _also_ listening on
another port, only on localhost, without SSL.
The parameters c.JupyterHub.ip and .port take only single values, rather
than a list, so I'm guessing that this _isn't_ a supported
configuration, but I can't see anywhere in the docs that makes that
explicit (but I might just be missing the right instructions). In that
case, I might be better off having two JupyterHub instances running,
with different configs.
Best wishes,
Norman
--
Norman Gray :
https://nxg.me.uk