Skip to content

Instantly share code, notes, and snippets.

@trietptm
Created March 2, 2016 05:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trietptm/48844a955346bde6cd1b to your computer and use it in GitHub Desktop.
Save trietptm/48844a955346bde6cd1b to your computer and use it in GitHub Desktop.
Apache Crypto Configuration
SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
SSLProtocol All -SSLv2 -SSLv3
SSLHonorCipherOrder On
Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains; preload"
Header always set X-Frame-Options DENY
Header always set X-Content-Type-Options nosniff
# Requires Apache >= 2.4
SSLCompression off
SSLSessionTickets Off
SSLUseStapling on
SSLStaplingCache "shmcb:logs/stapling-cache(150000)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment