Skip to content

Instantly share code, notes, and snippets.

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_prefer_server_ciphers on;
location / {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment