nginx 下 php ob_flush flush 支持
的方法
- So I have the following location configurations:
- location ~ \.php$ {
- include /etc/nginx/fastcgi_params;
- fastcgi_pass 127.0.0.1:9000;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME /path/to/public_html/$fastcgi_script_name;
- fastcgi_read_timeout 600;
- fastcgi_buffer_size 1k;
- fastcgi_buffers 128 1k; # up to 4k + 128 * 4k
- fastcgi_max_temp_file_size 0;
- gzip off;
- }
- The important configurations are:
- fastcgi_buffer_size 1k;
- fastcgi_buffers 128 1k; # up to 1k + 128 * 1k
- fastcgi_max_temp_file_size 0;
- gzip off;