问题
nginx 一直报500 Internal Server Error 错误,配置是通过phpstudy2018站点域名管理生成的。
解决方案:
修改Nginx配置文件
root "D:\\php\\phpstudy\\PHPTutorial\\WWW\\demo";
注:如果这段配置不在nginx.conf中,就是因为Nginx.conf中引入vhosts.conf,在vhosts.conf中修改即可
猜想可能是\被当成转义字符了
nginx 一直报500 Internal Server Error 错误,配置是通过phpstudy2018站点域名管理生成的。
修改Nginx配置文件
root "D:\\php\\phpstudy\\PHPTutorial\\WWW\\demo";
注:如果这段配置不在nginx.conf中,就是因为Nginx.conf中引入vhosts.conf,在vhosts.conf中修改即可
猜想可能是\被当成转义字符了