mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4404] [Feature Request] Support for URI Stripping in HTTP Proxies #3479
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3479
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @xjetry on GitHub (Aug 24, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4404
Describe the feature request
I am currently using Nginx to forward traffic from ports 80 and 443 to port 8000 and have configured vhostHTTPPort=8000. My client configuration is as follows:
When I make a request to www.example.com/service-1/foo, the service on port 8081 receives the request URI as /service-1/foo instead of the expected /foo. I have reviewed the documentation but have not found a way to configure this behavior.
Is there an existing feature that supports stripping the location prefix from the URI before forwarding the request to the local service? If not, could this feature be considered for future development?
Thank you for your attention to this request.
Describe alternatives you've considered
No response
Affected area
@xqzr commented on GitHub (Aug 25, 2024):
尝试
/service-1>/service-1/@fatedier commented on GitHub (Aug 26, 2024):
We currently do not support various Layer 7 proxy capabilities; you need to use it in conjunction with proxies like nginx.