Skip to content
Discussion options

You must be logged in to vote

Your wildcard resource wins over the dashboard because Pangolin gives it an explicit priority and the dashboard routers have none.

What Pangolin generates for a wildcard resource is a regex router: buildHostRule in server/lib/traefik/rule.ts turns *.example.com into HostRegexp(`^[^.]+\.example\.com$`), and computeRoutePriority in the same file returns 100 for a target with no path and no explicit priority. Your dashboard is served by the routers in the installed config/traefik/dynamic_config.yml (main-app-router-redirect, next-router, api-router, plus ws-router on installer-generated configs), and none of them sets priority. In Traefik a router without an explicit priority gets one equal …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@tonycsoka
Comment options

Answer selected by tonycsoka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants