Skip to content

Instantly share code, notes, and snippets.

@li0nel
Created March 6, 2018 11:41
Show Gist options
  • Save li0nel/e758c2cc922fe02988bbeebdf9af7d8e to your computer and use it in GitHub Desktop.
Save li0nel/e758c2cc922fe02988bbeebdf9af7d8e to your computer and use it in GitHub Desktop.
Nginx Dockerfile with SSL
FROM nginx
ADD deploy/nginx/nginx.conf /etc/nginx/
ADD deploy/nginx/default.conf /etc/nginx/conf.d/
ADD public /usr/share/nginx/html
ADD deploy/nginx/ssl/ssl.cert /etc/ssl/certs/ssl.cert
ADD deploy/nginx/ssl/ssl.key /etc/ssl/private/ssl.key
WORKDIR /usr/share/nginx/html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment