1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
server {

        listen       443;
        server_name need.quansuwangluo.com;
        ssl on;
        index index.html index.htm index.php;
        root /home/www/215.api.mayinongchang.net;
        ssl_certificate   cert/quansuwangluo.pem;
        ssl_certificate_key  cert/quansuwangluo.key;
        ssl_session_timeout 5m;
        ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        ssl_prefer_server_ciphers on;
}