阿里云文档 2025-10-22

如何通过Nginx Ingress配置WebSocket服务

对于依赖WebSocket长连接的实时应用,为避免Nginx Ingress默认超时导致连接中断,可通过配置超时注解保证连接稳定。

阿里云文档 2025-08-28

如何使用SPL的正则表达式解析Nginx访问日志

Nginx访问日志记录了用户访问的详细信息,解析Nginx访问日志对业务运维具有重要意义。本文介绍如何使用正则表达式函数解析Nginx访问日志。

阿里云文档 2025-03-26

内网环境报表通过Nginx代理嵌入外网第三方系统,api/v2/component/list报错403Forbiden

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

阿里云文档 2025-01-08

如何部署及查看Nginx Ingress访问日志

阿里云Ingress组件除了提供外部可访问的URL、负载均衡、SSL、基于名称的虚拟主机外,还支持将所有您的HTTP请求日志记录到标准输出中。您可以在创建集群时启用日志服务,在阿里云日志服务SLS查看Nginx Ingress的访问日志分析报表和监控Nginx Ingress实时状态。本文介绍Nginx Ingress访问日志的部署及查看。

阿里云文档 2023-09-03

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

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

文章 2023-08-01 来自:开发者社区

Vue 发布服务器(Nginx)后访问路由报错 404

server { # 监听端口 listen 8089; # 主机名称 server_name www.dzm.com; # 根目录 root /usr/local/var/dzm; # 匹配协议 # location / { # index index.html; # } # 上面 / 的匹配协议换...

问答 2022-02-15 来自:开发者社区

我的Nginx无法访问了,报错502

502 bad gateway。一打开网页就是 502 bad gateway 502 bad gateway 502 bad gateway 502 bad gateway 502 bad gateway 502 bad gateway 502 bad gateway 502 bad gateway 502 bad gateway 502 bad gateway !!!!!

问答 2022-02-15 来自:开发者社区

Nginx和PHP-cgi 程序内执行fsockopen和curl无法访问任何网站?报错

\n"; } ?> 上面这段代码我在服务器上直接以脚本的方式的执行php test.php命令是可以访问请求到支付宝的接口的,但是我通过web请求的方式却不能请求到支付宝的服务器,并且报如下错误: php_network_getaddresses: getaddrinfo failed: Name or service not known (0) 网上查了下,并且根据自己的理解...

问答 2022-02-15 来自:开发者社区

nginx代理tomcat服务器,访问Nginx用Https,代理用http,但?报错

整体结构 用户--https-->Nginx--http-->Tomcat 页面中包含了iframe,iframe的src也是Https的,但是当frame里面的内容表单提交后tomcat服务器处理成功想要重定向却无法正常重定向,Chrome报错如下 Mixed Content: The page at 'https://...../#' was loaded over HTT...

问答 2022-02-15 来自:开发者社区

nginx设置反向代理访问报错?报错

本机(记作主机A)安装了Windows版本的nginx,配置文件内容如下: worker_processes  4; #pid        logs/nginx.pid; events  {     worker_connections  1024; } http {     inclu...

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

产品推荐

{"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"}}