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

Running multiple sites using some proxy, routing to different ports #30

Open
cra opened this issue Aug 6, 2024 · 1 comment
Open

Running multiple sites using some proxy, routing to different ports #30

cra opened this issue Aug 6, 2024 · 1 comment

Comments

@cra
Copy link

cra commented Aug 6, 2024

I'd like to run a single proxy and have multiple proxy_pass depending on the site address, is that supported?

As I understand, right now the only option that is possible is

site1.ton -> "http://127.0.0.1:80"
site2.ton -> "http://127.0.0.1:80"

I want to have routing like

site1.ton -> "http://127.0.0.1:8001"
site2.ton -> "http://127.0.0.1:8002"

Is that possible with a single reverse proxy server?

@xssnick
Copy link
Contributor

xssnick commented Aug 7, 2024

Hi, you can run nginx or other webserver locally and make additional routing there, reverse proxy supports only one proxy pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants