Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
nginx conf
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