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

listen to multiple ports and forward to multiple ports #24

Open
hanselke opened this issue Jun 2, 2017 · 1 comment
Open

listen to multiple ports and forward to multiple ports #24

hanselke opened this issue Jun 2, 2017 · 1 comment

Comments

@hanselke
Copy link

hanselke commented Jun 2, 2017

I need a single domain to listen to two ports, 443 and 3000, that will be forwarded to the 443 and 3000 port of the container. is this possible?

@XtremXpert
Copy link

I think the main issue is the upstream entry created. The entry is including the port number with the IP and not there is no port in the related proxy_pass of the location.

If the program is modify for putting the port in the proxy_pass instead of the upstream, you will be able to put a per host config in vhost dir and configure it for those 2 ports using server directives, one listening on each port and containing a proxy_pass to the good upstream including the port related)

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