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

proxy custom port to another domain:port #259

Open
emattias opened this issue Sep 3, 2020 · 1 comment
Open

proxy custom port to another domain:port #259

emattias opened this issue Sep 3, 2020 · 1 comment
Labels

Comments

@emattias
Copy link

emattias commented Sep 3, 2020

The docs show how to proxy the default ports (80 or 443) doing this:

echo 10.3.1.2:9292 > ~/.puma-dev/awesome-elsewhere

This proxies https://awesome-elsewhere.test to 10.3.1.2:9292 but what if I want to proxy https://awesome-elsewhere.test:1234 instead of https://awesome-elsewhere.test?

Is that possible? If so, how? Or can that feature be added?

@nonrational
Copy link
Member

You can configure puma-dev to listen on a custom https port. Is it sufficient to just run puma-dev -https-port 1234?

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

2 participants