frp
frp copied to clipboard
Allow multiple HTTP proxies on different ports
The solution you want
The ability to have multiple HTTP proxies on different remote ports.
Alternatives considered
Giving the HTTPS type proxy the same options as HTTP type proxies, but that would still only allow 2 remote ports.
How to implement this function
Remove vhost_http_port
and replace it with remote_port
on the client, like with TCP proxies.
Application scenarios of this function
Anything requiring multiple HTTP proxies on different ports, (e.g. a Synapse server)
I don't know this scenarios, maybe it's not a common feature.
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
bump
I'm running many http proxies on the same host with no problem. Just use type=http(s) and different ports for each service. remember to set vhost in frps
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
bump
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
bump
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
bump
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
bump
@green-codes, yes, but can't you only have one vhost? Doesn't that mean that all of the proxies would go to the same port?
It's not necessary to always set type http
for your service. Just use tcp
instead.
Yes, however you do need type http
to set headers, right? My situation is that I have 2 http
proxies that need to have different headers set on them.
We want to support this scenario in frp v2 since it's very different with current architecture.