Sign inSign up

asher/nginx-ssl-bundled

By asher

•Updated almost 11 years ago

Image
0

444

asher/nginx-ssl-bundled repository overview

⁠asher/nginx-ssl-bundled

asher/nginx-ssl-bundled⁠ is a docker⁠ base image for bundling your ssl certificate.

It is based on dockerfile/nginx⁠ base image.

⁠Usage

  • Create a Dockerfile in a directory containing ssl.crt and ssl.key with the following content:

      FROM asher/nginx-ssl-bundled
    
  • Run the following command in your application directory:

      docker build -t nginx-ssl .
    
  • Add the following lines to your nginx server block

      ssl on;
      ssl_certificate /etc/ssl/ssl.crt;
      ssl_certificate_key /etc/ssl/ssl.key;
    

⁠Notes

  • (Obviously) Don't publish the result of this build to any public repos.

Tag summary

Content type

Image

Digest

sha256:3dfc60fbf…

Size

195.6 MB

Last updated

almost 11 years ago

docker pull asher/nginx-ssl-bundled