mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-26 07:43:49 -05:00
[GH-ISSUE #1528] Path-based routing not working as expected. #1942
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maLi9n on GitHub (Sep 23, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1528
Originally assigned to: @oschwartz10612 on GitHub.
Path-based routing is not working for me. As an example, I set prefix to
/jellyfin, website is reachable athttps://jellyfin.homelab.com/pointing to resource192.168.0.5:8096but when I visithttps://jellyfin.homelab.com/jellyfinnothing comes up.@sippeangelo commented on GitHub (Sep 23, 2025):
It looks like Pangolin's Blueprints feature is missing the "stripprefix" feature that Traefik has. I often want to route a subpath (path prefix) without the underlying service being aware of it. E.g:
Without Pangolin actually stripping the prefix, this feature is a bit neutered. Was this an oversight? Since Pangolin is all Traefik in the background it shouldn't be too hard to implement, hopefully?
@oschwartz10612 commented on GitHub (Sep 23, 2025):
Yeah we should add this. Pretty trivial. Will look into soon.
@sippeangelo commented on GitHub (Oct 31, 2025):
Thanks for implementing this in v1.11.0! It works great!
@maLi9n commented on GitHub (Oct 31, 2025):
Still not working for me.
@sippeangelo commented on GitHub (Nov 2, 2025):
The strip prefix option works great when configured through the UI for me, but when configuring it through Docker labels it seems that you MUST set a
rewritePathfor it to work. The UI sets the value to an empty string, but that doesn't seem possible when using the labels, so therefore it breaks. Thankfully, settingrewritePath=/seems to be equivalent.Also these labels don't seem documented yet: https://docs.pangolin.net/manage/blueprints#target-configuration
This is how I configure my target in Docker labels:
@oschwartz10612 commented on GitHub (Nov 2, 2025):
@sippeangelo thanks for pointing this out! I have updated the docs and in
c16e762fa4I have made it so that therewritePathis nowrewrite-pathand is backwards compatible with this old version. I have also made it so that the/is included by default.@legionGer commented on GitHub (Dec 9, 2025):
Is this issue fixed for sure? Because I am running in a very similar issue ... /jellyfin/ works fine, /jellyfin goes nowhere.