问答 2023-03-22 来自:开发者社区

安装ssl证书后https打开仍是nginx首页,不会显示wordpress网站

我的域名是www.zchgood.top我防火墙443是打开的ssl证书也是装好了的,登陆https有小锁。 证书是按照阿里云的步骤安装的,打开http时,显示的时wordpress的首页,但是打开https时,网页显示nginx的欢迎页面。 网上查了很久,说的都是服务器防火墙没开、证书没安装好、uginx没配置好等等的回答,我的防火墙443是打开着的,证书应该也是装好了的,打开https网页会....

文章 2023-02-21 来自:开发者社区

nginx重定向回首页

nginx重定向回首页server { listen 18001; server_name _; location / { rewrite ^/(?<left>.*)$ / break; proxy_pass http://192.168.0.1:18002/index.html; } } server { listen 18...

问答 2021-10-19 来自:开发者社区

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

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

问答 2019-03-26 来自:开发者社区

wordpress网站除了首页内部链接全部打不开,nginx报错404

纯净系统下新装了AMH5.5极速版,安装了NGINX-1.14+MYSQL5.5+PHP5.3, 通过wordpress建站 ,老网站搬迁过来后,只有首页能显示,外链可以打开,图片显示正常,其他内部链接全部都打不开,点击显示nginx报错404,请问是什么问题?wp后台也已经设置了固定连接,百度查都说是伪静态没设置好,这个具体怎么设置,能否帮忙解决? 以下提供创建的lnmp环境下的nginx-h....

问答 2019-01-04 来自:开发者社区

nginx + ssl + tomcat集群,首页可以通过https访问,已登录就成http了

#user  nobody; worker_processes  2; #error_log  logs/error.log; #error_log  logs/error.log  notice; error_log  logs/error.log  inf...

文章 2018-03-16 来自:开发者社区

Docker系列教程06-实战:修改Nginx首页

原文:http://www.itmuch.com/docker/06-docker-change-nginx-index/ 6.1 需求 启动一个Nginx容器。 将Nginx容器的首页改为Welcome to 51CTO docker class 。 将容器保存下来。 6.2 提示 Nginx默认首页目录在:/usr/share/nginx/html/index.html 答案 d...

文章 2017-11-08 来自:开发者社区

nginx 访问默认index.html首页跳转指定页面

nginx 访问默认index.html首页跳转指定页面 在server 段加入: rewrite ^/index.html(.*)$ /index.php permanent;       本文转自无形于有形  51CTO博客,原文链接:http://blog.51cto.com/jinchuang/1897388,如需转载请自行联系原作者

文章 2016-04-28 来自:开发者社区

nginx 解决首页跳转问题

nginx和tomcat负载均衡 比如 www.csdn.net 网站后面有 2个tomcat。 配置负载均衡: upstream csdn-tomcat{ server 192.168.100.101:8080; server 192.168.100.102:8080; } server { listen 80; server_name www.csdn.ne...

问答 2015-11-14 来自:开发者社区

网站首页一直显示welcome to nginx

各位好:   我使用的是 Ubuntu 12x+32位 系统 , 安装 的是mysql+nginx,在/srv/ghost/目录下安装的 ghost 博客 (基于nodejs+express),然而不管怎么 配置 ,首页都是显示的是welcome to nginx  我在 /etc/nginx/sites-available/ghost.conf中填写的内容...

问答 2015-11-14 来自:开发者社区

首页一直是welcome to nginx界面

各位好:   我使用的是Ubuntu 12x+32位系统,安装的是mysql+nginx,在/srv/ghost/目录下安装的ghost博客(基于nodejs+express),然而不管怎么配置,首页都是显示的是welcome to nginx  我在 /etc/nginx/sites-available/ghost.conf中填写的内容如下: server...

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

产品推荐

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