Quote:
I have not tested this, but perhaps if you create the Chrootdirectory as root:www, with a chmod(1) of 750, shown as drwxr-x--- in ls(1), this will follow chroot(2) restrictions while permitting php-fpm to access to the directory.
|
not secure for multiple website.
i think we are in jail.
but i find better solution for this shortage. i set ChrootDirectory to /var/www
i think is better if no exists any security problem in later.