Add dhparams.pem and change default ssl perms

This commit is contained in:
Deon George 2018-07-09 16:44:28 +10:00
parent c53384641f
commit 11d495a649
2 changed files with 14 additions and 0 deletions

View File

@ -4,6 +4,7 @@
FROM nginx:latest
COPY etc/nginx/default.d /etc/nginx/default.d
COPY var/www/maintenance /var/www/maintenance
RUN chmod 444 /etc/nginx/default.d/ssl/* && chmod 400 /etc/nginx/default.d/ssl/default.key /etc/nginx/default.d/ssl/dhparams.pem
RUN echo "deb http://ftp.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/stretch-backports.list \
&& apt-get update && apt-get -t stretch-backports install certbot -yy \

View File

@ -0,0 +1,13 @@
-----BEGIN DH PARAMETERS-----
MIICCAKCAgEA+uukfVDx426F/nezqMGrwMfFH5ZqL0wcB/oWl/xHkV1FOn4zX8xi
9H7Co0HpGqt1Km2Wdu4SAYSshkajk276zwUfJ3l5QZ8e5rvBboxJ6bs6LGEOO7Uc
EmQQcCxemD1qR81wRh/FYM+B3DymZxtW8xzx9Ns+6wyiu6WMGCQvA5OAva8s91Vg
ElvpxZ733mmGhkU6K+yaPwGnxj0jmCf8OWFsZKR9AjFags9gkLXwxKlY8HORhxii
SPg9Iy4Bjo89TsEObhrdjfAYa9hG9g+1Woy7o9gY1Vwk84rUlHVqM4Vb+gwlmXBi
ZIO2/QHn7He1U9Ich7PPOCzXjreOYJobDPf6aPp2osC5FURwPJc/sCos7UxGKpuh
MBlS1fTK/y5lCHXt3JgeELiMRwPeYY/q4wocQdHHtSi2k5wXRgj8tQFNfoRDybwh
aoXY7gdC4fa8VpaiqBIMXczEE7D+P/XDW3wDCE3X2V5D5LNXNWurIdspRD5mCjkz
DuG7Mczjf+i0ghus34zP7aCL8jgPWYWz46Uul/H8K1/KpJvjmGL0ZRNx5hAnwdxE
wF9XZC1tPVwio40Ck3RkULhBQ17KONupu1AQ0W/M6mkDsMY6UAHZBXYv5bPL4KIF
gxpOkish6y3Z0WYv9F3kb3ctv+FGKWhzvIAeg/2ahyQJOT3Z03gJyVsCAQI=
-----END DH PARAMETERS-----