Skip to content

Instantly share code, notes, and snippets.

@jwlms
Last active Aug 29, 2015
Embed
What would you like to do?
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