Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

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.
Docker Pull Command
Owner
asher

Comments (0)