nginx - 页面暂时不可用 - NGINX

标签 nginx

我有一个问题,我怀疑是 NGINX 问题。基本上,当我尝试登录到我创建的网站时,出现以下错误……

您要查找的页面暂时不可用。请稍后再试。

有没有人以前遇到过这个?

最佳答案

如果 NGINX 虚拟主机文件中的 fastcgi_pass 指令不正确,则可能会出现此问题。

如果你使用fastcgi,应该类似于这样:fastcgi_pass 127.0.0.1:9000;

如果使用fpm,应该是这样的:fastcgi_pass unix:/var/run/php5-fpm.sock;

附言这是一个已有一年历史的问题,但谷歌将我引向了这个问题。所以我决定写下我的发现。

关于nginx - 页面暂时不可用 - NGINX,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10848778/

相关文章:

node.js - 自相矛盾的 CORS 错误 : Either no 'Access-Control-Allow-Origin' present OR 'Access-Control-Allow-Origin' header contains multiple values

apache - MAMP Pro 中的 HTTP2 支持

php - 更改 `php.ini` 中的值在 Nginx 中未生效

mysql - 部署rails应用程序时的nginx错误消息

php - 服务器返回空白页和 200 OK

nginx - 调整 nginx worker_process 以获得每分钟 100k 次点击

nginx - 是否可以同时提供 hls 和 dash mpeg

magento - nginx recv() 失败 (104 : Connection reset by peer) while reading response header from upstream

nginx - 使用带有Google登录插件的Ingress NGINX Controller在GKE中公开Jenkins

amazon-web-services - 使用Mup部署和NGINX的 meteor 应用程序未出现在AWS上