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

Is it possible to serve virtual hosts domains using bore? #140

Open
josealgardataborges opened this issue Nov 6, 2024 · 1 comment
Open

Comments

@josealgardataborges
Copy link

I have several virtual hosts locally hosted with nginx, namelly a.dev, b.dev and c.dev.

Can i use BORE to access them from outside (ie Internet)?

bore local 443 --local-host a.dev --to bore.pub -p 5000
bore local 443 --local-host b.dev --to bore.pub -p 5001
bore local 443 --local-host c.dev --to bore.pub -p 5002

But they don't work, they always show the first VIRTUAL HOST on my nginx configuration file.

PS: i cannot have a.dev run on 8080, then b.dev run on 8081, and c.dev run on 8082.

@ricardoapaes
Copy link
Contributor

I had a similar problem and used an nginx container above bore-server.
I'll leave the repository of what I did for you to take a look at: https://github.com/ricardoapaes/bore-server

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