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

nginx配置backup服务器,错误页面不生效?报错

1.配置nginx备份服务器时,当其他两台服务器不可用时,跳转到自定义的页面。但实际配置后未生效;麻烦看下我配置的哪有毛病呢 安装nginx主机的IP:192.168.109.210 其他两台安装apache主机的IP:192.168.109.208和192.168.109.209 2.代码段 http{ upstream mysvr { server 192.168...

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

nginx配置好了路径之后,不走配置路径老是跳转这个页面 : 配置报错

大神们,为什么我的nginx配置好了路径之后,不走配置路径老是跳转这个页面

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

nginx配置后还是到欢迎页面:配置报错 

大家好! 我的nginx配置后还是到欢迎页面!配置如下     upstream tomcat_server{         server 127.0.0.1:8080;     }     server { &nbs...

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

nginx配置后还是到欢迎页面-nginx报错

" 大家好! 我的nginx配置后还是到欢迎页面!配置如下     upstream tomcat_server{         server 127.0.0.1:8080;     }     server { &n...

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

nginx location匹配指定页面配置 - nginx报错

我现在想把登录页面和注册页面重定向到其他url,对nginxlocation不是很熟悉,试了好长时间,还是不行,请各位指点。我的配置如下: # 配置URL规则:访问登录和注册页面重定向https访问 location ^~ /yddweb/index/(login.jsp|register.jsp) { root yddweb; set $query $query_string; if (...

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

nginx location匹配指定页面配置-nginx报错

"我现在想把登录页面和注册页面重定向到其他url,对nginxlocation不是很熟悉,试了好长时间,还是不行,请各位指点。我的配置如下: # 配置URL规则:访问登录和注册页面重定向https访问 location ^~ /yddweb/index/(login.jsp|register.jsp) { root yddweb; set $query $query_string; if ($q....

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

ECS安装完nginx启动后进行页面验证打不开

完全按照以下安装步骤安装 https://www.runoob.com/linux/nginx-install-setup.html nginx已启动起来了 但我在浏览器上输入http://【阿里云公有IP地址】,就会报无法访问此网站 求大神帮助

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

nginx模块开发怎么返回空页面 400 请求报错 

自定义开发了一个nginx模块,想让它返回一个空页面; 代码如下: ngx_str_set(&r->headers_out.content_type, "text/html"); r->headers_out.status = NGX_HTTP_OK; r->headers_out.content_length_n = 0; b = ngx_pcalloc(r->p...

问答 2019-08-10 来自:开发者社区

nginx 安装ssl证书后,访问是welcome to openresty 页面,网站页面不能打开

环境:centos 6.8+php+nginx 问题:nginx 部署安装 ssl证书后,访问https://域名 ,不能显示网站页面,一直跳转到 welcome to openresty! 欢迎界面 说明: 1. nginx.conf 配置文件 如下: user root www; worker_processes auto; error_log /var/log/nginx/error.l.....

问答 2019-08-02 来自:开发者社区

nginx已经启动,可以在远程访问nginx服务器时,浏览器页面出现“Web 服务器拒绝了连接”

在centos上启动nginx,出现如下情况: 在浏览器登录服务器的域名或者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"}}