nginx 配置 默认网站根目录(权限问题导致403 Forbidden错误的解决方法)

在安装 nginx 服务器后,我想把网站的根目录设置为 /root/www/ ,于是对 nginx 的 nginx.conf 文件进行配置 先打开 nginx.conf #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log lo
相关文章
相关标签/搜索