Open Kyle-Verhoog opened 4 years ago
This could be done by mounting the needed pem
files in the containers and then mapping ports 80 and 443.
This would also be a bit more secure as the ports are not served directly on the host but only through docker. The tradeoff might be performance, both on the host (docker nginx consumes more than regular old nginx) and CD build times (building the nginx container takes time + bandwidth).
Another plus would be for the ability to check-in/rollback the nginx configuration. A recent issue surfaced due to a host nginx version upgrade and it wasn't able to be rolled back.
It would be great if all configuration could be done through the docker nginx.
https is going to be the challenge.