server { listen 80; server_name localhost; listen 443 ssl default_server; #listen [::]:443 ssl default_server; #ipv6 ssl_certificate /usr/local/nginx/ssl_certs/***.pem; ssl_certificate_key /usr/local/nginx/ssl_certs/***.key; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE; ssl_prefer_server_ciphers on; ssl_session_cache shared:SSL:10m; ssl_session_timeout 10m; error_page 497 https://$host$request_uri; ......