Skip to content

Commit

Permalink
Set change-origin so certs behind proxy work
Browse files Browse the repository at this point in the history
  • Loading branch information
tgmachina committed Oct 9, 2018
1 parent 82d12b3 commit bcebf0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jupyterhub/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ async def start(self):
client_cert = self.app.internal_proxy_certs[proxy_client]['certfile']
client_ca = self.app.internal_trust_bundles[proxy_client + '-ca']

cmd.extend(['--change-origin'])
cmd.extend(['--api-ssl-key', api_key])
cmd.extend(['--api-ssl-cert', api_cert])
cmd.extend(['--api-ssl-ca', api_ca])
Expand Down

0 comments on commit bcebf0e

Please sign in to comment.