Docker-letsencrypt-nginx-proxy-companion: proxy for non-dockerized service

Created on 1 Dec 2016  路  1Comment  路  Source: nginx-proxy/docker-letsencrypt-nginx-proxy-companion

Hi

I am using docker-letsencrypt-nginx-proxy-companion for proxying multiple docker containers, but would like to use it also for an application that is running on another machine, and not in a local docker container.

So for the nginx-proxy part, i can add a custom.conf in the /etc/nginx/conf.d/ directory and the service will be reachable via HTTP. But I couldn't find a way to use it together with the letsencrypt functionality?

Or do you have an idea how i could make a simple "fake" docker container that would force nginx-proxy, and so docker-letsencrypt-nginx-proxy-companion, to proxy to another host?

thanks
KoS

Most helpful comment

by using a simple socat proxy container i could solve that in a very elegant way.
https://github.com/silasdavis/socat-proxy-docker

>All comments

by using a simple socat proxy container i could solve that in a very elegant way.
https://github.com/silasdavis/socat-proxy-docker

Was this page helpful?
0 / 5 - 0 ratings