Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple HTTP proxies on different ports #2501

Open
ravenclaw900 opened this issue Jul 30, 2021 · 16 comments
Open

Allow multiple HTTP proxies on different ports #2501

ravenclaw900 opened this issue Jul 30, 2021 · 16 comments
Labels
Milestone

Comments

@ravenclaw900
Copy link

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)

@blizard863
Copy link
Collaborator

I don't know this scenarios, maybe it's not a common feature.

@github-actions
Copy link

github-actions bot commented Sep 1, 2021

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

@ravenclaw900
Copy link
Author

bump

@green-codes
Copy link

green-codes commented Sep 5, 2021

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

@github-actions
Copy link

github-actions bot commented Oct 6, 2021

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

@ravenclaw900
Copy link
Author

bump

@github-actions
Copy link

github-actions bot commented Nov 7, 2021

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

@ravenclaw900
Copy link
Author

bump

@github-actions
Copy link

github-actions bot commented Dec 8, 2021

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

@ravenclaw900
Copy link
Author

bump

@github-actions
Copy link

github-actions bot commented Jan 9, 2022

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

@ravenclaw900
Copy link
Author

bump

@ravenclaw900
Copy link
Author

@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?

@fatedier
Copy link
Owner

fatedier commented Feb 9, 2022

It's not necessary to always set type http for your service. Just use tcp instead.

@ravenclaw900
Copy link
Author

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.

@fatedier
Copy link
Owner

fatedier commented Feb 9, 2022

We want to support this scenario in frp v2 since it's very different with current architecture.

@fatedier fatedier added the future label Feb 9, 2022
@fatedier fatedier added this to the v2 milestone Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants