Nginx container with configuration for reverse proxy through ssl.
1.5K
Nginx container with configuration for reverse proxy through ssl.
The configuration is customized for security :
The container includes a strong dhparams (4096 bits) and a ssl certificate / private key is mandatory. With a trusted certificate, the tests result of Qualys SSL Labs should be A+ (https://www.ssllabs.com/ssltest/)
Usage
docker run -d --name nginx-reverse-proxy-ssl -p 443:443 -p 80:80 -e TARGET_HOST=target -e TARGET_PORT=3000 -v /opt/certificates/my.crt:/etc/pki/nginx/nginx.crt:ro -v /opt/certificates/my.key:/etc/pki/nginx/nginx.key:ro squareitservices/nginx-reverse-proxy-ssl
The environement variables TARGET_HOST and TARGET_PORT defines the target of the reverse proxy (respectively the host and the port).
Content type
Image
Digest
Size
42.7 MB
Last updated
about 9 years ago
docker pull squareitservices/nginx-reverse-proxy-ssl