Skip to content

Instantly share code, notes, and snippets.

@jwlms
Last active August 29, 2015 14:19
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jwlms/d4ac2feab6653d6545e7 to your computer and use it in GitHub Desktop.
server {
#listening on port 443
listen 443 ssl;
#set site root
root /var/www/HOSTNAME.com;
index index.php index.html;
#set key locations
ssl_certificate /etc/sslmate/HOSTNAME.com.chained.crt;
ssl_certificate_key /etc/sslmate/HOSTNAME.com.key;
#Prevent SSL3 from being used
ssl_protocols TLSv1.2 TLSv1.1 TLSv1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment