cookiecutter-django/{{cookiecutter.project_slug}}/compose/nginx/Dockerfile

9 lines
270 B
Docker
Raw Normal View History

2015-07-16 18:43:02 +03:00
FROM nginx:latest
2016-06-03 18:39:45 +03:00
ADD nginx.conf /etc/nginx/nginx.conf
{% if cookiecutter.use_lets_encrypt == 'y' and cookiecutter.use_docker == 'y' %}
2016-06-03 18:39:45 +03:00
ADD start.sh /start.sh
ADD nginx-secure.conf /etc/nginx/nginx-secure.conf
ADD dhparams.pem /etc/ssl/private/dhparams.pem
{% endif %}