Try more config
This commit is contained in:
parent
41b9d27644
commit
203e3be54f
|
@ -5,6 +5,8 @@ hub:
|
||||||
enable_auth_state: true
|
enable_auth_state: true
|
||||||
JupyterHub:
|
JupyterHub:
|
||||||
tornado_settings:
|
tornado_settings:
|
||||||
|
request_timeout: 300
|
||||||
|
connect_timeout: 60
|
||||||
headers: { 'Content-Security-Policy': "frame-ancestors *;" }
|
headers: { 'Content-Security-Policy': "frame-ancestors *;" }
|
||||||
db:
|
db:
|
||||||
pvc:
|
pvc:
|
||||||
|
@ -12,7 +14,6 @@ hub:
|
||||||
extraConfig:
|
extraConfig:
|
||||||
oauthCode: |
|
oauthCode: |
|
||||||
from oauthenticator.generic import GenericOAuthenticator
|
from oauthenticator.generic import GenericOAuthenticator
|
||||||
c.JupyterHub.tornado_settings = { "request_timeout": 50, "connect_timeout": 5 }
|
|
||||||
c.JupyterHub.authenticator_class = GenericOAuthenticator
|
c.JupyterHub.authenticator_class = GenericOAuthenticator
|
||||||
c.GenericOAuthenticator.client_id = os.environ['NEXTCLOUD_CLIENT_ID']
|
c.GenericOAuthenticator.client_id = os.environ['NEXTCLOUD_CLIENT_ID']
|
||||||
c.GenericOAuthenticator.client_secret = os.environ['NEXTCLOUD_CLIENT_ID']
|
c.GenericOAuthenticator.client_secret = os.environ['NEXTCLOUD_CLIENT_ID']
|
||||||
|
|
Loading…
Reference in a new issue