更改Nginx网站根目录以及致使的403 forbidden问题解决

1、更改根目录php Nginx默认网站根目录为/usr/local/nginx/html,要将它改为/home/fuxiao/wwwhtml 更改方法: vi /usr/local/nginx/conf/nginx.conf 将其中的         location / {             root   html;             index  index.php index.
相关文章
相关标签/搜索