Path rules configured through labels forced into UPPERCASE #498

Closed
opened 2026-04-05 17:13:09 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @sippeangelo on 12/12/2025

Describe the Bug

It appears that path rules configured through Docker labels are forced into UPPERCASE for some reason, and thusly don't work.

Example:

  whoami:
    image: containous/whoami
    labels:
      - pangolin.proxy-resources.whoami.name=whoami
      - pangolin.proxy-resources.whoami.full-domain=whoami.example.com
      - pangolin.proxy-resources.whoami.protocol=http
      - pangolin.proxy-resources.whoami.auth.sso-enabled=true
      - pangolin.proxy-resources.whoami.auth.sso-roles[0]=Member
      - pangolin.proxy-resources.whoami.targets[0].method=http
      - pangolin.proxy-resources.whoami.targets[0].port=80
      - pangolin.proxy-resources.whoami.rules[0].action=allow
      - pangolin.proxy-resources.whoami.rules[0].match=path
      - pangolin.proxy-resources.whoami.rules[0].value=/test/*
    restart: unless-stopped

Result:
Image

I'm currently on v1.21.1 and unable to update right now, so I'm sorry if this has already been fixed, but I couldn't see any mention in the change logs.

Environment

  • Pangolin Version: 1.21.1

To Reproduce

See above.

Expected Behavior

See above.

*Originally created by @sippeangelo on 12/12/2025* ### Describe the Bug It appears that path rules configured through Docker labels are forced into UPPERCASE for some reason, and thusly don't work. Example: ``` whoami: image: containous/whoami labels: - pangolin.proxy-resources.whoami.name=whoami - pangolin.proxy-resources.whoami.full-domain=whoami.example.com - pangolin.proxy-resources.whoami.protocol=http - pangolin.proxy-resources.whoami.auth.sso-enabled=true - pangolin.proxy-resources.whoami.auth.sso-roles[0]=Member - pangolin.proxy-resources.whoami.targets[0].method=http - pangolin.proxy-resources.whoami.targets[0].port=80 - pangolin.proxy-resources.whoami.rules[0].action=allow - pangolin.proxy-resources.whoami.rules[0].match=path - pangolin.proxy-resources.whoami.rules[0].value=/test/* restart: unless-stopped ``` Result: <img width="902" height="106" alt="Image" src="https://github.com/user-attachments/assets/39fd20bf-f4b0-4e4c-93d3-b362e1f98c10" /> I'm currently on v1.21.1 and unable to update right now, so I'm sorry if this has already been fixed, but I couldn't see any mention in the change logs. ### Environment - Pangolin Version: 1.21.1 ### To Reproduce See above. ### Expected Behavior See above.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#498