mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Added missing details on how to add custom domain form manual HTTPS configuration
This commit is contained in:
@@ -89,6 +89,7 @@ If so, you can tell your deployment to use these files:
|
|||||||
sudo tljh-config set https.enabled true
|
sudo tljh-config set https.enabled true
|
||||||
sudo tljh-config set https.tls.key /etc/mycerts/mydomain.key
|
sudo tljh-config set https.tls.key /etc/mycerts/mydomain.key
|
||||||
sudo tljh-config set https.tls.cert /etc/mycerts/mydomain.cert
|
sudo tljh-config set https.tls.cert /etc/mycerts/mydomain.cert
|
||||||
|
sudo tljh-config add-item https.tls.domains yourhub.yourdomain.edu
|
||||||
```
|
```
|
||||||
|
|
||||||
Once you have loaded this, your config should look like:
|
Once you have loaded this, your config should look like:
|
||||||
@@ -103,6 +104,8 @@ https:
|
|||||||
tls:
|
tls:
|
||||||
key: /etc/mycerts/mydomain.key
|
key: /etc/mycerts/mydomain.key
|
||||||
cert: /etc/mycerts/mydomain.cert
|
cert: /etc/mycerts/mydomain.cert
|
||||||
|
domains:
|
||||||
|
- yourhub.yourdomain.edu
|
||||||
```
|
```
|
||||||
|
|
||||||
Finally, you can reload the proxy to load the new configuration:
|
Finally, you can reload the proxy to load the new configuration:
|
||||||
|
|||||||
Reference in New Issue
Block a user