更改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.
相關文章
相關標籤/搜索