docs: reference actual properties for enabling the traefik api and dashboard

This commit is contained in:
Jose Diaz-Gonzalez committed 2024-09-22 01:39:41 -04:00
1 parent 9ec7631540
commit 13fb40defd
1 file changed
+4 -4
+4 -4
View File
@@ -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.