From 065f6b78ac99485dd56a768df4611200399cbb85 Mon Sep 17 00:00:00 2001
From: Jonas Waeber <jonas.waeber@unibas.ch>
Date: Thu, 6 Feb 2025 17:26:32 +0100
Subject: [PATCH] try c.JupyterHub.hub_connect_url

---
 jupyterhub_config.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/jupyterhub_config.py b/jupyterhub_config.py
index 78a2e5b..a641e26 100644
--- a/jupyterhub_config.py
+++ b/jupyterhub_config.py
@@ -422,6 +422,8 @@ c.JupyterHub.concurrent_spawn_limit = 10
 #          Note: Some spawners or proxy implementations might not support hostnames. Check your
 #          spawner or proxy documentation to see if they have extra requirements.
 #  
+# 
+# import socket
 #          .. versionadded:: 0.8
 #  Default: ''
 # c.JupyterHub.hub_connect_ip = ''
@@ -1141,4 +1143,7 @@ c.DockerSpawner.remove = False
 # For debugging arguments passed to spawned containers
 c.DockerSpawner.debug = True
 
-c.JupyterHub.hub_ip = '0.0.0.0'
\ No newline at end of file
+import socket
+
+c.JupyterHub.hub_ip = '0.0.0.0'
+c.JupyterHub.hub_connect_url = 'https://jupyterhub.ki.intern.ub.unibas.ch'
\ No newline at end of file
-- 
GitLab