阿里云文档 2023-09-03

使用Nginx访问网页提示“502”和“connect upstream time out”报错如何处理?_云服务器 ECS(ECS)

本文介绍本地回环网卡(lo)未启动,导致使用Nginx访问网页提示“502”和“connect upstream time out”报错的问题现象、问题原因和解决方案。

阿里云文档 2022-05-16

问题描述需要将内网的Quick BI报表嵌入到外网的第三方系统。使用Nginx代理访问内网环境的Quick BI报表和一些静态资源,目前通过外网访问报表,其他接口都是正常的。只有api/v2/component/list报“403 Forbiden”错误:问题原因api/v2/component/l...

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

nginx反向代理后 js css文件不加载:报错

@红薯 你好,想跟你请教个问题: nginx 配置    upstream  myserver_pool{        server  127.0.0.1:8081  weight=4;     }     server{  &...

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

谁说nginx不支持.htaccess文件?:报错

在网上查到的资料很多人都说nginx目前不支持.htaccess文件,简直是扯淡... nginx完全可以支持.htaccess文件,请按如下操作: 1、新建一个.htaccess文件,在里面输入规则,如本站的规则: # nginx rewrite rule rewrite ^(.*?)/article/.*?-(\d+)-(\d+)\.html$   $1/show...

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

关于nginx上传大文件报错500?报错

worker_rlimit_nofile 65535; events {     use epoll;     worker_connections 65535; }    client_max_body_size 1024m;   sendfile          ...

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

nginx反向代理后 js css文件不加载 - nginx报错

@红薯 你好,想跟你请教个问题: nginx 配置    upstream  myserver_pool{        server  127.0.0.1:8081  weight=4;     }     server{  &...

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

谁说nginx不支持.htaccess文件? - nginx报错

" 在网上查到的资料很多人都说nginx目前不支持.htaccess文件,简直是扯淡... nginx完全可以支持.htaccess文件,请按如下操作: 1、新建一个.htaccess文件,在里面输入规则,如本站的规则: # nginx rewrite rule rewrite ^(.*?)/article/.*?-(\d+)-(\d+)\.html$   $1/show.h....

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

nginx反向代理后 js css文件不加载:配置报错 

@红薯 你好,想跟你请教个问题: nginx 配置    upstream  myserver_pool{        server  127.0.0.1:8081  weight=4;     }     server{  &...

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

谁说nginx不支持.htaccess文件?:配置报错 

在网上查到的资料很多人都说nginx目前不支持.htaccess文件,简直是扯淡... nginx完全可以支持.htaccess文件,请按如下操作: 1、新建一个.htaccess文件,在里面输入规则,如本站的规则: # nginx rewrite rule rewrite ^(.*?)/article/.*?-(\d+)-(\d+)\.html$   $1/show.html...

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

nginx反向代理后 js css文件不加载-nginx报错

" @红薯 你好,想跟你请教个问题: nginx 配置    upstream  myserver_pool{        server  127.0.0.1:8081  weight=4;     }     server{ &nbsp...

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

产品推荐

{"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"}}
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等