docs: reference actual properties for enabling the traefik api and dashboard
This commit is contained in:
1 file changed
+4
-4
@@ -160,10 +160,10 @@ Traefik exposes an API and Dashboard, which Dokku disables by default for securi
|
|||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
> Users enabling the dashboard should also enable api basic auth.
|
> Users enabling the dashboard should also enable api basic auth.
|
||||||
|
|
||||||
By default, the api is disabled. To enable, set the `api` property with the `--global` flag:
|
By default, the api is disabled. To enable, set the `api-enabled` property with the `--global` flag:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
dokku traefik:set --global api true
|
dokku traefik:set --global api-enabled true
|
||||||
```
|
```
|
||||||
|
|
||||||
After enabling, the Traefik container will need to be restarted.
|
After enabling, the Traefik container will need to be restarted.
|
||||||
@@ -173,10 +173,10 @@ After enabling, the Traefik container will need to be restarted.
|
|||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
> Users enabling the dashboard should also enable api basic auth.
|
> Users enabling the dashboard should also enable api basic auth.
|
||||||
|
|
||||||
By default, the dashboard is disabled. To enable, set the `dashboard` property with the `--global` flag:
|
By default, the dashboard is disabled. To enable, set the `dashboard-enabled` property with the `--global` flag:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
dokku traefik:set --global dashboard true
|
dokku traefik:set --global dashboard-enabled true
|
||||||
```
|
```
|
||||||
|
|
||||||
After enabling, the Traefik container will need to be restarted.
|
After enabling, the Traefik container will need to be restarted.
|
||||||
|
|||||||
Reference in new issue
Block a user