From 613ded165b75c7c5601f4d9ff5145f8b439ae8d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szekeres=20Ba=CC=81lint?= Date: Sun, 2 Dec 2018 20:51:52 +0100 Subject: [PATCH] php_fastcgi style fixes --- .../conf/nginxconfig.io/php_fastcgi.conf.html | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/public/templates/conf/nginxconfig.io/php_fastcgi.conf.html b/public/templates/conf/nginxconfig.io/php_fastcgi.conf.html index 6c6a3fa..7ed1b43 100644 --- a/public/templates/conf/nginxconfig.io/php_fastcgi.conf.html +++ b/public/templates/conf/nginxconfig.io/php_fastcgi.conf.html @@ -2,14 +2,15 @@ include fastcgi_params; # fastcgi settings -fastcgi_pass {{ !isPHPBackup() ? ((data.php_server[0] === '/' ? 'unix:' : '') + data.php_server) : 'php' }}; -fastcgi_index index.php; -fastcgi_split_path_info ^(.+\.php)(/.+)$; -fastcgi_param DOCUMENT_ROOT $realpath_root; -fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; -fastcgi_param PHP_ADMIN_VALUE open_basedir=$base/:/usr/lib/php/:/tmp/; -fastcgi_intercept_errors off; +fastcgi_pass {{ !isPHPBackup() ? ((data.php_server[0] === '/' ? 'unix:' : '') + data.php_server) : 'php' }}; +fastcgi_index index.php; +fastcgi_split_path_info ^(.+\.php)(/.+)$; +fastcgi_param DOCUMENT_ROOT $realpath_root; +fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; +fastcgi_param PHP_ADMIN_VALUE "open_basedir=$base/:/usr/lib/php/:/tmp/"; + +fastcgi_intercept_errors off; fastcgi_buffer_size 128k; fastcgi_buffers 256 16k; fastcgi_busy_buffers_size 256k;