xxxxxxxxxx
server {
location ~ \.php$ {
fastcgi_pass unix:/var/run/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
# FastCGI buffering settings
fastcgi_buffering on;
fastcgi_buffer_size 8k;
fastcgi_buffers 16 8k;
fastcgi_busy_buffers_size 16k;
fastcgi_temp_file_write_size 32k;
}
}