Support for custom location routing (similar to NPM “Custom location”) #1434

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

Originally created by @garanda21 on 5/29/2025

Hi! First of all, thank you for the work on Pangolin — it’s a very promising project.

I have a use case that I can easily solve in NPM (Nginx Proxy Manager) using the Custom location feature, and I’m wondering if something similar currently exists in Pangolin, or if there are plans to support it.

For example, in NPM I can define a custom location like this:

location /api/ {
    rewrite ^/api(/.*)$ $1 break;
    proxy_pass http://rybbit_backend:3001;
}

This is essential for a frontend application like Rybbit, which expects its backend to be available under a prefixed path such as /api. With just a couple of clicks in NPM, I can set this up and everything works perfectly.

If Pangolin aims to be a viable alternative, I believe this kind of routing configuration is critical — especially for developers who aren’t experts in Traefik or its middleware system. Ideally, we should be able to configure such behavior via the UI without editing configuration files manually, which can be risky and defeats the purpose of a user-friendly proxy manager.

Is this kind of functionality currently possible? If not, are there any plans to support it?

Thanks again, and keep up the great work!

*Originally created by @garanda21 on 5/29/2025* Hi! First of all, thank you for the work on Pangolin — it’s a very promising project. I have a use case that I can easily solve in NPM (Nginx Proxy Manager) using the **Custom location** feature, and I’m wondering if something similar currently exists in Pangolin, or if there are plans to support it. For example, in NPM I can define a custom location like this: ``` location /api/ { rewrite ^/api(/.*)$ $1 break; proxy_pass http://rybbit_backend:3001; } ``` This is essential for a frontend application like [Rybbit](https://github.com/rybbit-io/rybbit), which expects its backend to be available under a prefixed path such as /api. With just a couple of clicks in NPM, I can set this up and everything works perfectly. If Pangolin aims to be a viable alternative, I believe this kind of routing configuration is critical — especially for developers who aren’t experts in Traefik or its middleware system. Ideally, we should be able to configure such behavior via the UI without editing configuration files manually, which can be risky and defeats the purpose of a user-friendly proxy manager. Is this kind of functionality currently possible? If not, are there any plans to support it? Thanks again, and keep up the great work!
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1434