Welcome! Log In Create A New Profile

Advanced

Re: How to avoid "too big header" issue?

May 06, 2011 03:00AM
On Fri, May 06, 2011 at 02:34:03AM -0400, stalkercn wrote:
> http://www.toofiles.com/zh/rawfilesdownload-documents-log-nginx.html

nginx does not merge locations as Apache does, so:

location / {
root /home/www;
index index.php index.html;
}

location ~ \.php$ {
root /home/www;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /home/www$fastcgi_script_name;
include fastcgi_params;

fastcgi_temp_file_write_size 10m;
fastcgi_busy_buffers_size 512k;
fastcgi_buffer_size 512k;
fastcgi_buffers 16 512k;
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
fastcgi_intercept_errors on;
fastcgi_next_upstream error invalid_header timeout http_500;
}


--
Igor Sysoev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to avoid "too big header" issue?

stalkercn April 21, 2011 07:02AM

Re: How to avoid "too big header" issue?

Igor Sysoev April 22, 2011 02:36AM

Re: How to avoid "too big header" issue?

stalkercn April 26, 2011 08:46PM

Re: How to avoid "too big header" issue?

stalkercn April 28, 2011 11:15PM

Re: How to avoid "too big header" issue?

stalkercn May 03, 2011 11:10PM

Re: How to avoid "too big header" issue?

Igor Sysoev May 04, 2011 02:28AM

Re: How to avoid "too big header" issue?

stalkercn May 04, 2011 10:50PM

Re: How to avoid "too big header" issue?

Igor Sysoev May 05, 2011 03:36AM

Re: How to avoid "too big header" issue?

stalkercn May 05, 2011 10:45PM

Re: How to avoid "too big header" issue?

Igor Sysoev May 06, 2011 12:44AM

Re: How to avoid "too big header" issue?

stalkercn May 06, 2011 02:34AM

Re: How to avoid "too big header" issue?

stalkercn May 06, 2011 02:52AM

Re: How to avoid "too big header" issue?

stalkercn May 06, 2011 03:22AM

Re: How to avoid "too big header" issue?

stalkercn May 06, 2011 04:02AM

Re: How to avoid "too big header" issue?

Igor Sysoev May 06, 2011 02:44AM

Re: How to avoid "too big header" issue?

Igor Sysoev May 06, 2011 03:00AM

Re: How to avoid "too big header" issue?

Igor Sysoev May 06, 2011 03:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 324
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready