root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
上面的root html网站根目录在linux 或者 mac 上是可以配置任意目录吗??还是有一定的范围?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
任意目录,没有所谓的范围,只要指向自己项目的根目录就可以了.
任意目录
随便百度下就可以猜到