Report this

What is the reason for this report?

404 page not found when trying to access Traefik v.2.2 dashboard

Posted on July 14, 2021

Hi, I followed every step in the tutorial “How To Use Traefik v2 as a Reverse Proxy for Docker Containers on Ubuntu 20.04”. But when I’m trying to access the Traefik dashboard i get “404 page not found”. What am I doing wrong?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey!

If you’re encountering a “404 page not found” error when trying to access the Traefik dashboard, it’s likely an issue with the configuration in your docker-compose.yml or Traefik’s configuration file.

You will have to ensure that the Traefik dashboard is enabled in your configuration and check that the routing rules are correctly set up to forward requests to the Traefik dashboard.

Specifically, you should verify:

  • The dashboard is enabled in the Traefik configuration (e.g., dashboard: true in traefik.yml).
  • The correct routing rules are in place in docker-compose.yml for the Traefik service, such as traefik.http.routers.traefik.rule=PathPrefix('/traefik').
  • The ports are correctly mapped, and the necessary volumes are mounted.

Best,

Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Dark mode is coming soon.