Enable Dashboard
By default, the Traefik dashboard is enabled in secure mode, but not configured to be accessible from the internet.
To enable access from the internet, you need to add a dynamic configuration and secure it with a username and password.
Secure mode (with Dynamic Configuration)
You can enable Traefik’s dashboard by adding the following dynamic configuration:
Replace <DOMAIN_FOR_TRAEFIK>
, <GENERATED_USERNAME>
, and <GENERATED_PASSWORD>
with your own values.
You can reach the dashboard by visiting http://<DOMAIN_FOR_TRAEFIK>/dashboard/#/
.
How to generate user/password?
You can generate one with the htpasswd command:
Example output:
Insecure Mode (Not Recommended)
If you want to enable the dashboard in insecure mode (without a password), all you need to do is go to the proxy configurations view and change the insecure
setting to true
, then restart the proxy..