refactor(CONFIG): update SSL configurations

This commit is contained in:
Asif Bacchus 2021-01-05 17:12:00 -07:00
parent 5433019e2f
commit ccc303f597
2 changed files with 14 additions and 17 deletions

View File

@ -1,10 +1,8 @@
#######
### NGINX SSL configuration
### Generated using the Mozilla SSL Configuration Generator
### (https://ssl-config.mozilla.org)
### 'Intermediate' profile for NGINX 1.17 with OpenSSL 1.1.1c HSTS optional
### Last generated: October 16, 2019
#######
#
# NGINX SSL configuration (https://ssl-config.mozilla.org)
# 'Intermediate' profile for NGINX (TLS 1.2+)
# Generated: January 5, 2021
#
# SSL certificates should be defined in the relevant server block
@ -15,7 +13,8 @@ ssl_session_tickets off;
# SSL protocols and ciphers
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;ssl_prefer_server_ciphers off;
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
ssl_prefer_server_ciphers off;
# Diffie-Hellman parameter for DHE cipher suites, using 4096 bits
ssl_dhparam /certs/dhparam.pem;

View File

@ -1,10 +1,8 @@
#######
### NGINX SSL configuration
### Generated using the Mozilla SSL Configuration Generator
### (https://ssl-config.mozilla.org)
### 'Modern' profile for NGINX 1.17 with OpenSSL 1.1.1c HSTS optional
### Last generated: October 16, 2019
#######
#
# NGINX SSL configuration (https://ssl-config.mozilla.org)
# 'Modern' profile for NGINX (TLS 1.3 only)
# Generated: January 5, 2021
#
# SSL certificates should be defined in the relevant server block