mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-22 09:32:36 -05:00
Add support for only forwarding specific url paths #103
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 @RichyHBM on GitHub (Feb 24, 2025).
As it currently stands, If I add a service to pangolin it will forward any and all requests no matter the url path.
With my previous setup using cloudflare + manual traefik setup, I could setup the traefik host rule to only respond to specific url paths as such:
Which would allow me to publicly allow those endpoints, without allowing full access to the web service.
One option could be to allow a 3rd "custom" option for setting the domain of a resource, which could allow raw traefik rule config to be put in?
@oschwartz10612 commented on GitHub (Feb 24, 2025):
HI!
I think you might be able to do this with the rule feature in
beta.14. You could create a allow rule for/script.js and/api/ingress` and then a block rule.Check that out and let me know if that ends up working for you!