mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-16 06:08:33 -05:00
[GH-ISSUE #1842] Resource rewrite rule disables traefik router #10783
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 @Lalilalulalam on GitHub (Nov 10, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1842
Describe the Bug
Setting up a new resource works with no issues. Trying to set up a prefix-type rewrite rule results in resource-router to stop functioning properly and returns 404 each time.
Environment
To Reproduce
According Authentik requirements with OwnCloud, a rewrite is needed:
https://owncloud.company/.well-known/openid-configurationtohttps://owncloud.company/index.php/apps/openidconnect/config. Setting up prefix/.well-known/openid-configurationto be rewritten to/index.php/apps/openidconnect/config. Removing those rules and saving doesn't solve the issue. Resource needs to be deleted and set up again for it to work.Expected Behavior
Rewrite to work and not influence router.
@oschwartz10612 commented on GitHub (Nov 22, 2025):
Hi sorry for the delay. Are you able to reproduce this and turn on debug
logs and tail the logs from pangolin and let me know if you see
anything? I suspect there may be something in the config it does not
like for the rewrite.
Edit config/config.yml:
app:
log_level: debug
docker compose logs -f pangolin
@Lalilalulalam commented on GitHub (Nov 23, 2025):
Hi, thanks for the reply.
I have made changes to config.yml and created test resource (owncloud.my.domain). First I have accessed it without rewrite rule with success, then added rewrite rule and got 404. Log anonymized a bit.
@Lalilalulalam commented on GitHub (Nov 24, 2025):
I forgot to mention, Traefik logging is set to append logfile. Content:
Before rewrite rule access.log
After rewrite rule:
@github-actions[bot] commented on GitHub (Dec 9, 2025):
This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
@github-actions[bot] commented on GitHub (Dec 23, 2025):
This issue has been automatically closed due to inactivity. If you believe this is still relevant, please open a new issue with up-to-date information.