Resource rewrite rule disables traefik router #653

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

Originally created by @Lalilalulalam on 11/10/2025

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

  • OS Type & Version: Debian 12
  • Pangolin Version: 1.12.1
  • Gerbil Version: 1.2.2
  • Traefik Version: 3.5
  • Newt Version: 1.6
  • Olm Version: (if applicable)

To Reproduce

According Authentik requirements with OwnCloud, a rewrite is needed:
https://owncloud.company/.well-known/openid-configuration to https://owncloud.company/index.php/apps/openidconnect/config. Setting up prefix /.well-known/openid-configuration to 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.

*Originally created by @Lalilalulalam on 11/10/2025* ### 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 - OS Type & Version: Debian 12 - Pangolin Version: 1.12.1 - Gerbil Version: 1.2.2 - Traefik Version: 3.5 - Newt Version: 1.6 - Olm Version: (if applicable) ### To Reproduce According Authentik requirements with OwnCloud, a rewrite is needed: `https://owncloud.company/.well-known/openid-configuration` to `https://owncloud.company/index.php/apps/openidconnect/config`. Setting up prefix `/.well-known/openid-configuration` to 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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#653