server proxy error pages from the Hub

This commit is contained in:
Min RK
2016-04-27 14:06:29 +02:00
parent 14a00e67b4
commit 1f861b2c90
4 changed files with 44 additions and 1 deletions

View File

@@ -937,6 +937,7 @@ class JupyterHub(Application):
'--api-ip', self.proxy.api_server.ip,
'--api-port', str(self.proxy.api_server.port),
'--default-target', self.hub.server.host,
'--error-target', url_path_join(self.hub.server.url, 'error'),
]
if self.subdomain_host:
cmd.append('--host-routing')