Fallback to HTTP when no cert is available and letsencrypt is enabled, fixes #35

This commit is contained in:
Pierre Jaury
2017-02-02 23:17:15 +01:00
parent 25d8b9e614
commit a0eeb76fbe
3 changed files with 39 additions and 0 deletions

View File

@@ -3,3 +3,8 @@ FROM nginx:alpine
RUN apk add --update nginx-lua && rm -rf /var/cache/apk/*
COPY nginx.conf /etc/nginx/nginx.conf
COPY nginx.conf.fallback /etc/nginx/nginx.conf.fallback
COPY start.sh /start.sh
CMD ["/start.sh"]