阿里云文档 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访问日志的部署及查看。

文章 2024-06-24 来自:开发者社区

nginx配置解决vue刷新404、swagger 页面访问(springboot+vue项目)

server { listen 80 default_server; #你的域名 server_name tt.com; #静态文件目录 root /www/wwwroot/www.tt.com; index index.html index.htm; #vue刷新404 location / { try...

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

在linux上的nginx服务器部署vue项目,只能访问到首页,其他页面404

在本地用npm run build 命令把项目打包,然后把打包项目压缩dist.zip文件上传到服务器上,解压在/usr/local/nginx/(新创建)root/data 下。(打包前仅仅把这修改成./ 了,还有下面build中的也修改了./) 在nginx.config 配置文件修改。 之后启动nginx服务器,可以通过ip/ 重定向到ip/blogs 页面。 但是报错,在...

阿里云文档 2020-06-12

如何使用Nginx或.htaccess文件以及ASP屏蔽IP地址访问

本文为您介绍通过主机管理控制台配置Nginx文件或.htaccess文件以及通过ASP来屏蔽单个IP地址、多个IP地址或者IP地址段访问网站的方法。

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

产品推荐

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