Sign inSign up

squareitservices/nginx-reverse-proxy-ssl

By squareitservices

Updated about 9 years ago

Nginx container with configuration for reverse proxy through ssl.

Image
0

1.5K

squareitservices/nginx-reverse-proxy-ssl repository overview

Nginx container with configuration for reverse proxy through ssl.

The configuration is customized for security :

  • Ciphers list
  • Protocols enabled
  • HTTPS redirection
  • Headers
  • HTTP Strict Transport Security enabled

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).

Tag summary

Content type

Image

Digest

Size

42.7 MB

Last updated

about 9 years ago

docker pull squareitservices/nginx-reverse-proxy-ssl