Hello,
when setting up a new Traefik instance (dashboard access), I've always just pasted in what worked the first time and haven't given it much thought (i.e. the following router).
Now I'm wondering, though, there are two internal services that confuse me - the api@internal and dashboard@internal. My thought process is that the API service would be used for the HTTP API and the dashboard one to display the dashboard. When I change out the api@internal for dashboard@internal, I get the application but no data. The AJAX requests it's making are directed to the current URL with the API endpoint appended, but the API is no longer being served at /api.
Note that I never actually used the API and I don't think I ever will. This is more of a hypothetical question as I want to understand Traefik beyond an "I'm able to add a router" knowledge.