3 ms·
If you want something simple, how about just installing nginx on the host to forward-proxy your Docker container?
by icebraining 9y ago
If you want something simple, how about just installing nginx on the host to forward-proxy your Docker container?
- sandGorgon 9y agobut how is that more secure or simpler than running a docker image ? to setup the nginx on my host, i would still have to store the certificates somewhere right. Docker is not what is making this thing complicated.
- icebraining 9y agoUsing nginx and a let's encrypt client on the host, the certificates are only generated and kept inside the machine itself. That's safer than baking them into the Docker image, which will be copied around.