Created
July 6, 2013 15:28
-
-
Save smallvil/5940229 to your computer and use it in GitHub Desktop.
startssl for nginx configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HTTPS server | |
# | |
# 2013-07-07 secure.get9.net | |
# cat get9.net.crt sub.class1.server.ca.pem ca.pem > get9.net-nginx.crt | |
server { | |
listen 443; | |
server_name secure.get9.net; | |
ssl on; | |
ssl_certificate /etc/nginx/ssl/get9.net-nginx.crt; | |
ssl_certificate_key /etc/nginx/ssl/get9.net-nopasswd.key; | |
ssl_session_timeout 5m; | |
ssl_protocols SSLv2 SSLv3 TLSv1; | |
ssl_ciphers HIGH:!aNULL:!MD5; | |
ssl_prefer_server_ciphers on; | |
location / { | |
root /home/html/secure; | |
index index.html index.php; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment