nginx中间人代理实现七层https代理后端https
cat alijms.esb.com.conf server {listen 443 ssl;server_name alijms.esb.com;ssl_certificate certs/esb.com.pem;ssl_certificate_key certs/esb.com.key;ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;ssl_prefer_server_ciphers on;ssl_session_timeout 10m;ssl_session_cache shared:SSL:10m;ssl_session_tickets off; # Requires nginx >= 1.5.9location / {proxy_redirect https://alijms.esb.com/ /;proxy_pass https://alijms.esb.com;proxy_set_header Host $host;proxy_set_header X-Real-IP $remote_addr;proxy_set_header REMOTE-HOST $remote_addr;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;}
}