关键配置:
listen 80;
listen 443 ssl;
ssl_certificate certs/214059490140944.pem;
ssl_certificate_key certs/214059490140944.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 ^~ /carbon
{
proxy_pass https://127.0.0.1:9443/carbon;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
解决方法:
vim <WSO2ESB_HOME>/repository/conf/tomcat/catalina-server.xml
compression="off" //关闭压缩
nginx代理 wso2esb 出现 Error 403 - Forbidden
原文地址:http://blog.51cto.com/czwanga/2094704