Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

ssl-params.conf 848B

123456789101112131415161718192021
  1. # from https://cipherli.st/
  2. # and https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html
  3. ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  4. ssl_prefer_server_ciphers on;
  5. ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
  6. ssl_ecdh_curve secp384r1;
  7. ssl_session_cache shared:SSL:10m;
  8. ssl_session_tickets off;
  9. ssl_stapling on;
  10. ssl_stapling_verify on;
  11. resolver 8.8.8.8 8.8.4.4 valid=300s;
  12. resolver_timeout 5s;
  13. # Disable preloading HSTS for now. You can use the commented out header line that includes
  14. # the "preload" directive if you understand the implications.
  15. #add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
  16. add_header Strict-Transport-Security "max-age=63072000; includeSubdomains";
  17. add_header X-Frame-Options DENY;
  18. add_header X-Content-Type-Options nosniff;
  19. # ssl_dhparam /etc/ssl/certs/dhparam.pem;