问答 2020-06-08 来自:开发者社区

nginx启动http server,监听http请求,代理proxy_pass?400报错

nginx启动http server,监听http请求,代理proxy_pass至https请求(如https:api.weixin.qq.com)。 从web应用A发起http访问nginx服务器,转发至https:api.weixin.qq.com,在微弱并发下,有时会出现,返回respone时nginx报错,链接后端(web应用A)timeout。 已确认web应用一直的链接中,web...

问答 2020-05-30 来自:开发者社区

nginx这时不就是一个http server的客户端吗400 请求报错 

nginx这时不就是一个http server的客户端吗? 只要nginx代理传递: proxy_set_header Accept-Encoding gzip @红薯 你好,想跟你请教个问题:我在nginx配置文件中配置了proxy_set_header Accept-Encoding "gzip";可是我去请求的时候,没有发现http头带Accept-Encoding:gzip,想问下,该.....

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

产品推荐

{"cardStyle":"productCardStyle","productCode":"aliyun","productCardInfo":{"productTitle":"部署Nginx并通过Ingress暴露和监控服务","productDescription":"在阿里云容器服务(后简称ACK)集群中通过YAML文件快速部署一个Nginx应用并通过Nginx Ingress暴露和监控服务,结合使用ACK、日志服务、专有网络搭建业务部署运维方案。","productContentLink":"https://www.aliyun.com/solution/tech-solution/nginx_ingress","isDisplayProductIcon":true,"productButton1":{"productButtonText":"方案详情","productButtonLink":"https://www.aliyun.com/solution/tech-solution/nginx_ingress"},"productButton2":{"productButtonText":"一键部署","productButtonLink":"https://help.aliyun.com/document_detail/2400022.html"},"productButton3":{"productButtonText":"查看更多技术解决方案","productButtonLink":"https://www.aliyun.com/solution/tech-solution/"},"productPromotionInfoBlock":[{"$id":"0","productPromotionGroupingTitle":"解决方案推荐","productPromotionInfoFirstText":"MSE实现全链路灰度","productPromotionInfoFirstLink":"https://www.aliyun.com/solution/tech-solution/iflgbomse","productPromotionInfoSecondText":"云架构必修课:云上高可用架构","productPromotionInfoSecondLink":"https://www.aliyun.com/solution/tech-solution/hablog"}],"isOfficialLogo":false},"activityCardInfo":{"activityTitle":"","activityDescription":"","cardContentBackgroundMode":"LightMode","activityContentBackgroundImageLink":"","activityCardBottomInfoSelect":"activityPromotionInfoBlock"}}