Merge pull request #170 from andreasfaerber/master
Create and use SSL dhparam file if not mounted, NGINX_SSL_DHPARAM_BITS variable in .env.dist file
This commit is contained in:
@@ -9,4 +9,8 @@ L=None/O=None/CN=$DOMAIN"
|
||||
cp /etc/nginx/nginx.conf.fallback /etc/nginx/nginx.conf
|
||||
fi
|
||||
|
||||
if [ ! -r /etc/nginx/dhparam.pem ]; then
|
||||
openssl dhparam -out /etc/nginx/dhparam.pem $NGINX_SSL_DHPARAM_BITS
|
||||
fi
|
||||
|
||||
nginx -g 'daemon off;'
|
||||
|
||||
Reference in New Issue
Block a user