Generic SSL Offloader using nginx as proxy
955
Needs a valid certificate into the same folder on the server running the container
Uses UPSTREAM environment variable to proxy_pass: http://${UPSTREAM};
Redirects connections made on port 80 to https://{host}{path}
Have a folder somewhere in the docker host (ex: /home/user/ssl) with the following files:
Run the container mounting the volume like so:
docker run -d --restart=always -e UPSTREAM=mybackend:8080 --link mybackend -p 443:443 -v /home/user/ssl:/etc/nginx/ssl --name ssl-offloader jmserra/ssl-offloader
Content type
Image
Digest
Size
8.8 MB
Last updated
over 6 years ago
docker pull jmserra/ssl-offloader