Now we have multiple virtualhots (nginx) under one php-fpm pool. We would like to use it same way with chroot
.
Chroot directive is absolute path /var/www
, but chdir
should be /[domain]/httpdocs
Is it possible to pass some variable (for example $domain
) from nginx to use it in chdir=/$domain/httpdocs
like $pool
?