[Feature Request] Update Traefik dynamic config to use resource name instead of resource number #1665

Closed
opened 2026-04-05 19:39:05 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @just5ky on 3/29/2025

Issue

  • Currently, Pangolins generated Traefik dynamic config has object name as 4-router@http, which makes it difficult to know where the web-traffic is flowing.

  • Looking at the pangolins URL path, in this case 4 turns out to be Jellyfin
    https://pangolin.domain/organization_name/settings/resources/4/connectivity

IP - - [29/Mar/2025:16:40:26 +0000] "GET /i/?a=normal&get=c_9 HTTP/2.0" 200 67834 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36" 20393 "4-router@http" "http://100.89.128.4:41168" 1147ms

Image

Proposed Solution

  • Modify/Update the dynamic config generated by Pangolin to use resource name instead of resource number.

NOTE: Need to sanitize the name, since pangolin resource names can have spaces and special characters that may break dynamic config

References

https://doc.traefik.io/traefik/providers/overview/#provider-namespace
https://doc.traefik.io/traefik/providers/http/


Thanks for making this awesome software. Loving it!

*Originally created by @just5ky on 3/29/2025* ## Issue - Currently, Pangolins generated Traefik dynamic config has object name as `4-router@http`, which makes it difficult to know where the web-traffic is flowing. - Looking at the pangolins URL path, in this case 4 turns out to be Jellyfin `https://pangolin.domain/organization_name/settings/resources/4/connectivity` `IP - - [29/Mar/2025:16:40:26 +0000] "GET /i/?a=normal&get=c_9 HTTP/2.0" 200 67834 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36" 20393 "4-router@http" "http://100.89.128.4:41168" 1147ms` ![Image](https://github.com/user-attachments/assets/b1752c5b-39b7-42d8-8ead-691db52ea7bd) ## Proposed Solution - Modify/Update the dynamic config generated by Pangolin to use resource name instead of resource number. > **_NOTE:_** Need to sanitize the name, since pangolin resource names can have spaces and special characters that may break dynamic config ## References https://doc.traefik.io/traefik/providers/overview/#provider-namespace https://doc.traefik.io/traefik/providers/http/ --- > Thanks for making this awesome software. Loving it!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1665