测试机安装nginx的时候遇到了一个问题, 就是nginx安装成功后, 直接在浏览器输入IP , 已经能跳转 nginx页面, 说明nginx安装成功了
但是, 在访问具体路径的时候一直报错:
The page you are looking for is temporarily unavailable. Please try again later.
Website Administrator
Something has triggered an error on your website. This is the default error page for nginx that is distributed with Fedora. It is located /usr/share/nginx/html/50x.html
You should customize this error page for your own site or edit the error_page directive in the nginx configuration file /etc/nginx/nginx.conf.
最后发现问题, 是因为启动的时候, 不能获取到nginx.conf ,所以 nginx的具体配置获取不到了
解决办法: