Skip to content

PHP-FPM chroot support for nginx

Jozef Sroka requested to merge Sroka/ispconfig3:php-fpm-chroot into master

I added support chroot php-fpm for nginx. The reason is to increase security. At this time if is enabled php function shell_ecex the website can read from other web folders. Example shell_exec('cat /var/www/example.com/web/index.php') or shell_exec('cat /var/www/example.com/web/config.php'). Or can read from folder scructure or logs.

Merge request reports