mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Fixed minor issues
This commit is contained in:
@@ -86,7 +86,7 @@ def main():
|
||||
'git+https://github.com/jupyterhub/the-littlest-jupyterhub.git'
|
||||
)
|
||||
|
||||
traefik_proxy_repo_path = 'git+https://github.com/jupyterhub/traefik-proxy.git'
|
||||
traefik_proxy_repo_path = 'jupyterhub-traefik-proxy==0.1.0a1'
|
||||
|
||||
subprocess.check_output([
|
||||
os.path.join(hub_prefix, 'bin', 'pip'),
|
||||
|
||||
@@ -182,4 +182,4 @@ def test_set_auth_api():
|
||||
}
|
||||
})
|
||||
assert c.TraefikTomlProxy.traefik_api_username == 'some_user'
|
||||
assert c.TraefikTomlProxy.traefik_api_password == '1234'
|
||||
assert c.TraefikTomlProxy.traefik_api_password == '1234'
|
||||
|
||||
@@ -84,4 +84,4 @@ def check_service_active(name):
|
||||
], check=True)
|
||||
return True
|
||||
except subprocess.CalledProcessError:
|
||||
return False
|
||||
return False
|
||||
|
||||
@@ -41,7 +41,7 @@ idleTimeout = "10m0s"
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
[entryPoints.auth_api]
|
||||
address = ":{{auth_api['port']}}"
|
||||
address = "127.0.0.1:{{auth_api['port']}}"
|
||||
[entryPoints.auth_api.whiteList]
|
||||
sourceRange = ['{{auth_api['ip']}}']
|
||||
[entryPoints.auth_api.auth.basic]
|
||||
|
||||
Reference in New Issue
Block a user