curl -s http://localhost:8080/api/http/routers | jq '.[].name'

Category: Web Servers & Proxies

curl -s http://localhost:8080/api/http/routers | jq '.[].name'

List HTTP router names from Traefik's API

/api/http/routers returns the active HTTP routers, and jq '.[].name' extracts just their names, one per line. Compare with your compose labels or file config to see which rules actually loaded. A router missing from the list means its rule failed to parse.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.