Nginx报错:Sorry, the page you are looking for is currently unavailable. Please try again later.

Nginx报错:Sorry, the page you are looking for is currently unavailable. Please try again later.
查看了进程, nginx在运行, 排除程序错误, 那么就是配置的问题了.

一个可能的错误, 是由于配置中的 fastcgi_pass 配置错了

Nginx报错:Sorry, the page you are looking for is currently unavailable. Please try again later._第1张图片
前端文件路径(更改后)
Nginx报错:Sorry, the page you are looking for is currently unavailable. Please try again later._第2张图片
nginx.conf配置路径
需要检查路径是否一致
Nginx报错:Sorry, the page you are looking for is currently unavailable. Please try again later._第3张图片
网上也有很多相同的问题,基本都是配置路径错误与端口号错误
https://www.cnblogs.com/debmzhang/p/4194254.html
可以参照上述链接查缺补漏。

你可能感兴趣的:(nginx,运维,前端)