Skip to content

Instantly share code, notes, and snippets.

Last active August 29, 2015 14:19
What would you like to do?
server {
#listening on port 443
listen 443 ssl;
#set site root
root /var/www/;
index index.php index.html;
#set key locations
ssl_certificate /etc/sslmate/;
ssl_certificate_key /etc/sslmate/;
#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