mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-16 22:43:00 +00:00
add JupyterHub.debug_proxy
This commit is contained in:
@@ -226,6 +226,7 @@ class JupyterHub(Application):
|
|||||||
Only override if configurable-http-proxy is not on your PATH
|
Only override if configurable-http-proxy is not on your PATH
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
debug_proxy = Bool(False, config=True, help="show debug output in configurable-http-proxy")
|
||||||
proxy_auth_token = Unicode(config=True,
|
proxy_auth_token = Unicode(config=True,
|
||||||
help="""The Proxy Auth token.
|
help="""The Proxy Auth token.
|
||||||
|
|
||||||
@@ -721,8 +722,7 @@ class JupyterHub(Application):
|
|||||||
'--api-port', str(self.proxy.api_server.port),
|
'--api-port', str(self.proxy.api_server.port),
|
||||||
'--default-target', self.hub.server.host,
|
'--default-target', self.hub.server.host,
|
||||||
]
|
]
|
||||||
if False:
|
if self.debug_proxy:
|
||||||
# if self.log_level == logging.DEBUG:
|
|
||||||
cmd.extend(['--log-level', 'debug'])
|
cmd.extend(['--log-level', 'debug'])
|
||||||
if self.ssl_key:
|
if self.ssl_key:
|
||||||
cmd.extend(['--ssl-key', self.ssl_key])
|
cmd.extend(['--ssl-key', self.ssl_key])
|
||||||
|
Reference in New Issue
Block a user