Skip to content

Instantly share code, notes, and snippets.

@jwlms
Last active August 29, 2015 14:19
Show Gist options
  • Save jwlms/d4ac2feab6653d6545e7 to your computer and use it in GitHub Desktop.
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