1
0
mirror of https://github.com/dcarrillo/docker-nginx.git synced 2024-11-14 16:01:12 +00:00

Bump version to 1.21.4 (#19)

* Bump version to 1.21.4

* Increase dhparams key size when testing
This commit is contained in:
Daniel Carrillo 2021-11-19 17:41:35 +01:00 committed by GitHub
parent fc6a03b3d7
commit 29756fea18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
NGINX_VERSION=1.20.0
NGINX_VERSION=1.21.4
NGX_GEOIP2_VERSION=3.3
DOCKER_IMAGE=dcarrillo/nginx

View File

@ -34,7 +34,7 @@ _cleanup()
_setup_crypto_stuff()
{
echo "Generating SSL files..."
openssl dhparam -out "$TMP_DIR"/dhparams.pem 512 > /dev/null 2>&1
openssl dhparam -out "$TMP_DIR"/dhparams.pem 1024 > /dev/null 2>&1
openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 \
-subj "/C=ES/ST=Madrid/L=Madrid/O=dcarrillo/CN=localhost" \
-keyout "$TMP_DIR"/cert.key -out "$TMP_DIR"/cert.pem > /dev/null 2>&1