Merge pull request #7180 from dokku/traefik-doc-fixes

Reference actual properties for enabling the traefik api and dashboard
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2024-09-22 02:45:59 -04:00
commit 4c85b1fad7
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.