[GH-ISSUE #2058] Path rules configured through labels forced into UPPERCASE #4003

Closed
opened 2026-04-20 08:22:54 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @sippeangelo on GitHub (Dec 12, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/2058

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 GitHub (Dec 12, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/2058 ### 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.
Author
Owner

@oschwartz10612 commented on GitHub (Dec 12, 2025):

I think this has been fixed in 1.13. Please update and feel free to
reopen if it is not fixed.

<!-- gh-comment-id:3647946429 --> @oschwartz10612 commented on GitHub (Dec 12, 2025): I think this has been fixed in 1.13. Please update and feel free to reopen if it is not fixed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#4003