daily pastebin goal
75%
SHARE
TWEET

Untitled

a guest Dec 10th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # RSA
  2. ssl_certificate     /path/fullchain.pem;
  3. ssl_certificate_key /path/privkey.pem;
  4.  
  5. # ECDSA
  6. ssl_certificate     /path/0001_chain.pem;
  7. ssl_certificate_key /path/itchy.nl.ec.key;
  8.  
  9. ssl_dhparam     /path/dhparam4096.pem;
  10.  
  11. ssl_buffer_size     1400;
  12. ssl_session_timeout 2h;
  13. ssl_session_cache   shared:SSL:50m;
  14. ssl_session_tickets off;
  15.  
  16. # modern configuration.
  17. # Oldest compatible clients: Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and Java 8
  18. ssl_protocols       TLSv1.2 TLSv1.3;
  19. ssl_ciphers     "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256";
  20. ssl_prefer_server_ciphers on;
  21. ssl_ecdh_curve      X25519:secp521r1:secp384r1;
  22.  
  23. # OCSP Stapling.
  24. # fetch OCSP records from URL in ssl_certificate and cache them.
  25. ssl_stapling        on;
  26. ssl_stapling_verify on;
  27. ## verify chain of trust of OCSP response using Root CA and Intermediate certs
  28. ssl_trusted_certificate /path/cert.pem;
  29. resolver        8.8.8.8 8.8.4.4 valid=300s;
  30. resolver_timeout    5s;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand