mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-16 22:43:00 +00:00
turn on xheaders
logs real IP, rather than proxy IP
This commit is contained in:
@@ -878,7 +878,7 @@ class JupyterHub(Application):
|
||||
pc.start()
|
||||
|
||||
# start the webserver
|
||||
http_server = tornado.httpserver.HTTPServer(self.tornado_application)
|
||||
http_server = tornado.httpserver.HTTPServer(self.tornado_application, xheaders=True)
|
||||
http_server.listen(self.hub_port)
|
||||
# run the cleanup step (in a new loop, because the interrupted one is unclean)
|
||||
|
||||
|
Reference in New Issue
Block a user