nginx静态资源文件无法访问,403 forbidden错误
转载自:https://www.cnblogs.com/smiler/p/8624145.html
在安装 nginx 服务器后,我想把网站的根目录设置为 /root/www/ ,于是对 nginx 的 nginx.conf 文件进行配置
先打开 nginx.conf
#user nobody;
worker_processes 1;
#error_log logs/error.log;
...
转载
2020-05-05 23:30:56 ·
1277 阅读 ·
1 评论