trust proxy headers in single-user server

required for request protocol, ip checks to work properly
This commit is contained in:
Min RK
2015-04-17 10:37:17 -07:00
parent 778202ada8
commit 713f222e19

View File

@@ -138,6 +138,7 @@ class SingleUserNotebookApp(NotebookApp):
hub_api_url = Unicode(config=True)
aliases = aliases
open_browser = False
trust_xheaders = True
login_handler_class = JupyterHubLoginHandler
logout_handler_class = JupyterHubLogoutHandler