mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 07:23:00 +00:00
trust proxy headers in single-user server
required for request protocol, ip checks to work properly
This commit is contained in:
@@ -138,6 +138,7 @@ class SingleUserNotebookApp(NotebookApp):
|
|||||||
hub_api_url = Unicode(config=True)
|
hub_api_url = Unicode(config=True)
|
||||||
aliases = aliases
|
aliases = aliases
|
||||||
open_browser = False
|
open_browser = False
|
||||||
|
trust_xheaders = True
|
||||||
login_handler_class = JupyterHubLoginHandler
|
login_handler_class = JupyterHubLoginHandler
|
||||||
logout_handler_class = JupyterHubLogoutHandler
|
logout_handler_class = JupyterHubLogoutHandler
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user