Created
November 26, 2012 16:17
-
-
Save rynop/4149088 to your computer and use it in GitHub Desktop.
nginx conf
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
server { | |
listen 443 default_server ssl; | |
root /var/www; | |
index index.html index.htm index.php; | |
error_log /var/log/nginx/testconfg.log debug; | |
ssl on; | |
ssl_certificate /etc/ssl/testconfg/certs/server.crt; | |
ssl_certificate_key /etc/ssl/testconfg/private/server.key; | |
ssl_client_certificate /etc/ssl/testconfg/certs/ca.crt; | |
ssl_crl /etc/ssl/testconfg/private/ca.crl; | |
ssl_verify_client on; | |
ssl_session_timeout 5m; | |
ssl_protocols SSLv3 TLSv1; | |
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP; | |
ssl_prefer_server_ciphers on; | |
location / { | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment