OpenSource CLI-App to install and handle stuff related to Web-Server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
608 B

4 years ago
  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+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA HIGH !RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS";
  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. ssl_dhparam /etc/ssl/certs/dhparam.pem;