зеркало из https://github.com/Azure/Moodle.git
Added ssl ciphers & TLSv1.2
Added ssl ciphers Added TLSv1.2 Dropped TLSv1 & TLSv1.1
This commit is contained in:
Родитель
1cb6f239a6
Коммит
4ac73198d5
|
@ -296,9 +296,12 @@ http {
|
||||||
|
|
||||||
set_real_ip_from 127.0.0.1;
|
set_real_ip_from 127.0.0.1;
|
||||||
real_ip_header X-Forwarded-For;
|
real_ip_header X-Forwarded-For;
|
||||||
# Dropping TLSv1 TLSv1.1
|
#upgrading to TLSv1.2 and droping 1 & 1.1
|
||||||
ssl_protocols TLSv1.2; # Dropping SSLv3, ref: POODLE
|
ssl_protocols TLSv1.2;
|
||||||
ssl_prefer_server_ciphers on;
|
#ssl_prefer_server_ciphers on;
|
||||||
|
#adding ssl ciphers
|
||||||
|
ssl_ciphers ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384;
|
||||||
|
|
||||||
|
|
||||||
gzip on;
|
gzip on;
|
||||||
gzip_disable "msie6";
|
gzip_disable "msie6";
|
||||||
|
|
Загрузка…
Ссылка в новой задаче