Ubuntu 14.04 (3.13.0-24-generic)
NOTE: When using NGINX 1.4.6 or 1.8.0 with this config, I am able to get an A+ on SSL Labs, but OCSP is not responding.
Is this a Let’s Encrypt problem or something else entirely?
server {
listen 80;
listen 443 ssl http2;
server_name dev.mysite.com;
keepalive_timeout 70;
ssl on;
ssl_certificate /etc/letsencrypt/live/dev.mysite.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/dev.mysite.com/privkey.pem;
ssl_dhparam /etc/ssl/certs/dhparam.pem;
ssl_stapling on;
ssl_stapling_verify on;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 5m;
ssl_session_tickets off;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers 'AESGCM:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES128-SHA256:AES256-SHA256:AES256-SHA:AES128-SHA256:AES128-SHA:!aNULL:!MD5';
ssl_prefer_server_ciphers on;
# resolver 127.0.0.1 valid=300s;
# resolver 8.8.8.8 8.8.4.4 valid=1s;
# resolver_timeout 5s;
add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
add_header X-Frame-Options DENY;
add_header X-Content-Type-Options nosniff;
access_log /var/log/nginx/dev.mysite.com.access.log;
error_log /var/log/nginx/dev.mysite.com.error.log;
location / {
proxy_pass http://127.0.0.1:37453/;
}
}