mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 23:13:00 +00:00
Merge pull request #4479 from minrk/jupyterhub-public-url
add JupyterHub.public_url config
This commit is contained in:
@@ -182,6 +182,7 @@ html_context = {
|
||||
linkcheck_ignore = [
|
||||
r"(.*)github\.com(.*)#", # javascript based anchors
|
||||
r"(.*)/#%21(.*)/(.*)", # /#!forum/jupyter - encoded anchor edge case
|
||||
r"https?://(.*\.)?example\.(org|com)(/.*)?", # example links
|
||||
r"https://github.com/[^/]*$", # too many github usernames / searches in changelog
|
||||
"https://github.com/jupyterhub/jupyterhub/pull/", # too many PRs in changelog
|
||||
"https://github.com/jupyterhub/jupyterhub/compare/", # too many comparisons in changelog
|
||||
|
@@ -138,6 +138,14 @@ JUPYTERHUB_OAUTH_SCOPES: JSON-serialized list of scopes to use for allowing ac
|
||||
(deprecated in 3.0, use JUPYTERHUB_OAUTH_ACCESS_SCOPES).
|
||||
JUPYTERHUB_OAUTH_ACCESS_SCOPES: JSON-serialized list of scopes to use for allowing access to the service (new in 3.0).
|
||||
JUPYTERHUB_OAUTH_CLIENT_ALLOWED_SCOPES: JSON-serialized list of scopes that can be requested by the oauth client on behalf of users (new in 3.0).
|
||||
JUPYTERHUB_PUBLIC_URL: the public URL of the service,
|
||||
e.g. `https://jupyterhub.example.org/services/name/`.
|
||||
Empty if no public URL is specified (default).
|
||||
Will be available if subdomains are configured.
|
||||
JUPYTERHUB_PUBLIC_HUB_URL: the public URL of JupyterHub as a whole,
|
||||
e.g. `https://jupyterhub.example.org/`.
|
||||
Empty if no public URL is specified (default).
|
||||
Will be available if subdomains are configured.
|
||||
```
|
||||
|
||||
For the previous 'cull idle' Service example, these environment variables
|
||||
|
@@ -315,6 +315,14 @@ The process environment is returned by `Spawner.get_env`, which specifies the fo
|
||||
- `JUPYTERHUB_OAUTH_ACCESS_SCOPES` - the scopes required to access the server (called `JUPYTERHUB_OAUTH_SCOPES` prior to 3.0)
|
||||
- `JUPYTERHUB_OAUTH_CLIENT_ALLOWED_SCOPES` - the scopes the service is allowed to request.
|
||||
If no scopes are requested explicitly, these scopes will be requested.
|
||||
- `JUPYTERHUB_PUBLIC_URL` - the public URL of the server,
|
||||
e.g. `https://jupyterhub.example.org/user/name/`.
|
||||
Empty if no public URL is specified (default).
|
||||
Will be available if subdomains are configured.
|
||||
- `JUPYTERHUB_PUBLIC_HUB_URL` - the public URL of JupyterHub as a whole,
|
||||
e.g. `https://jupyterhub.example.org/`.
|
||||
Empty if no public URL is specified (default).
|
||||
Will be available if subdomains are configured.
|
||||
|
||||
Optional environment variables, depending on configuration:
|
||||
|
||||
|
Reference in New Issue
Block a user