mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-22 01:22:50 -05:00
Feature - Path Based Routing #362
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 @TheRealTrip on GitHub (May 22, 2025).
Feature Request: Support for Path-Based Routing
Summary
I'd like to request support for path-based routing, similar to NGINX's
locationblocks, in Pangolin.This feature would allow Pangolin to route traffic based on the request path, not just the domain or port — enabling more advanced reverse proxy behavior that's often required in modern self-hosted setups.
Use Case: Matrix Homeservers (
/.well-knownRouting)Matrix homeservers (e.g., Synapse, Dendrite, Conduit) require specific endpoints to be available at the root of a domain to support federation and client discovery:
https://example.com/.well-known/matrix/serverhttps://example.com/.well-known/matrix/clientThese endpoints are not served by the Matrix backend itself. Instead, they usually come from a separate static site or another service, sometimes even hosted on a different IP or port.
In NGINX, this would look like:
@oschwartz10612 commented on GitHub (May 22, 2025):
Hello!
Thank you for the request! I think this is a duplicate of https://github.com/orgs/fosrl/discussions/393 and https://github.com/orgs/fosrl/discussions/355 so I am going to close it but feel free to reopen and clarify if it is different.