标签:tps col cer 用户 服务器 pass 返回 etc 速度
流量转发#用户直接访问 pay.game.com 速度慢. 通过proxypay 服务器访问, 并将请求结果返回给用户.
server
{
listen 443;
server_name proxypay.game.com;
ssl on;
ssl_certificate /etc/nginx/1_proxypay.game.com_bundle.crt;
ssl_certificate_key /etc/nginx/2_proxypay.game.com.key;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;
ssl_prefer_server_ciphers on;
location / {
proxy_pass https://pay.game.com/;
proxy_ssl_certificate /etc/nginx/1_pay.game.com_bundle.crt;
proxy_ssl_certificate_key /etc/nginx/2_pay.game.com.key;
}
}
标签:tps col cer 用户 服务器 pass 返回 etc 速度
原文地址:http://blog.51cto.com/mstools/2296160