You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My problem is the following: I'm using Spring Boot Applications in Docker containers, successfully exposed through the 80 and 443 ports with nginx-proxy. This works very well, but I need more :)
Spring boot app can expose 2 more ports, each : a management port, and a debug port.
I'd like to be able to expose those 2 ports, as well as the common one, through nginx-proxy. What I actually need is the reverse-proxy capability, so I can a have unique DNS for my container, and access multiple ports from it.
For explanation' sake, that would enable me to:
use the same port for multiple applications (has they're not directly exposed to the host
avoid having to manually map all needed ports to the host
keep my firewall rules simple (only 3 ports to open for all the application, rather than 3 for each)
I hope that's clear enough. One way to do that in the container configuration would simply be to have something like:
My problem is the following: I'm using Spring Boot Applications in Docker containers, successfully exposed through the 80 and 443 ports with nginx-proxy. This works very well, but I need more :)
Spring boot app can expose 2 more ports, each : a management port, and a debug port.
I'd like to be able to expose those 2 ports, as well as the common one, through nginx-proxy. What I actually need is the reverse-proxy capability, so I can a have unique DNS for my container, and access multiple ports from it.
For explanation' sake, that would enable me to:
I hope that's clear enough. One way to do that in the container configuration would simply be to have something like:
Then, the following URL could be used and point to the right container:
The text was updated successfully, but these errors were encountered: