Expose host servce through docker nginx-proxy #2143
Unanswered
tomasz-grobelny
asked this question in
Q&A
Replies: 1 comment
-
Yes, assuming the other service is in a Docker container and you want it served over the existing nginx ports (80 and 443). Just set the If the other service is not in a Docker container, or if you want |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I have nginx-proxy running on docker and exposed on port 80 and 443. Next to that, on the same machine, I have another http service exposed on custom port (eg. 1234). Is there any way I could make the nginx-proxy treat this service as a backend? Is it a valid use case from nginx-proxy point of view? Or maybe any workaround exists to make it happen? I can imagine that I would need a trivial docker container that would expose port 80 and forward all requests back to the host - any thoughts how to implement it the simplest way? Eg. any preexiting docker containers implementing this?
Beta Was this translation helpful? Give feedback.
All reactions