nginx_ipv6配置

@admin  April 7, 2017

server {

listen 443;
listen [0000:3c01::f03c:0000:0000:0000]:443;
server_name v6.example.im  default_server;
ssl on;
root html;
index index.html index.htm;
ssl_certificate    214058986910065.pem;
ssl_certificate_key  214058986910065.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;
location / {
    proxy_pass http://platformapi.yicoole.com/;
    proxy_set_header Host $host:$server_port;
}

}


添加新评论