ðòïåëôù 


  áòèé÷ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  óôáôøé 


  ðåòóïîáìøîïå 


  ðòïçòáííù 



ðéûéôå
ðéóøíá












     áòèé÷ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keepalive disable msie6;



On Mon, Nov 21, 2011 at 09:30:42AM +0600, Alexander Usov wrote:
>    ËÒÉ×Ï ÓÄÅÌÁÌ, ÔÁË ÌÕÞÛÅ

óÐÁÓÉÂÏ!  óÅÇÏÄÎÑ ÉÓÐÒÁ×ÉÍ.

>    21 ÎÏÑÂÒÑ 2011šÇ. 9:28 ÐÏÌØÚÏ×ÁÔÅÌØ Alexander Usov
>    <[1]drobly@xxxxxxxxx> ÎÁÐÉÓÁÌ:
> 
>      ÐÁÔÞ
> 
>      21 ÎÏÑÂÒÑ 2011šÇ. 8:04 ÐÏÌØÚÏ×ÁÔÅÌØ locojohn
>      <[2]nginx-forum@xxxxxxxx> ÎÁÐÉÓÁÌ:
> 
>        ëÏÎÅÞÎÏ, ÎÕ ÚÁ ÉÓËÌÀÞÅÎÉÅÍ
>        ×ÉÒÔÕÁÌØÎÙÈ
>        ÈÏÓÔÏ× É ÐÏÄËÌÀÞÁÅÍÙÈ ËÏÎÆ. ÆÁÊÌÏ× -
>        Õ×ÅÒÑÀ ×ÁÓ, ÔÁÍ ÎÅÔ ÄÉÒÅËÔÉ×Ù
>        keepalive_disable
>        É ÎÅÔ ÎÉËÁËÉÈ ÓÓÙÌÏË ÎÁ ÚÎÁÞÅÎÉÅ "msie6".
> 
>        #user nginx nginx;
>        user www www;
>        worker_processes 4;
>        worker_rlimit_nofile 131072;
>        worker_cpu_affinity 0001 0010 0100 1000;
> 
>        error_log /var/log/nginx/error_log warn;
> 
>        events {
>        š š š šworker_connections 65536;
>        š š š šuse epoll;
>        # š š š debug_connection 217.24.65.183;
>        }
> 
>        http {
>        š š š šinclude /etc/nginx/mime.types;
>        š š š šdefault_type application/octet-stream;
> 
>        š š š šlog_format main
>        š š š š š š š š'$remote_addr - $remote_user [$time_local] '
>        š š š š š š š š'"$request" $status $bytes_sent '
>        š š š š š š š š'"$http_referer" "$http_user_agent" '
>        š š š š š š š š'"$gzip_ratio" $request_time';
> 
>        š š š šclient_header_timeout 10m;
>        š š š šclient_body_timeout 10m;
>        š š š šsend_timeout 10m;
> 
>        š š š šclient_max_body_size 700m;
>        š š š šconnection_pool_size 256;
>        š š š šclient_body_buffer_size 1024k;
>        š š š šclient_header_buffer_size 8k;
>        š š š šlarge_client_header_buffers 4 8k;
>        š š š šrequest_pool_size 4k;
> 
>        š š š šproxy_buffering on;
>        š š š šproxy_buffer_size 4k;
>        š š š šproxy_buffers 4096 4k;
> 
>        š š š šopen_file_cache max=2000 inactive=60s;
>        š š š šopen_file_cache_valid 60;
>        š š š šopen_log_file_cache max=1000 inactive=60s valid=1m;
> 
>        š š š šgeoip_country /usr/share/GeoIP/GeoIP.dat; # the country IP
>        database
>        š š š šgeoip_city ššš/usr/share/GeoIP/GeoLiteCity.dat; # the
>        city IP
>        database
> 
>        š š š šgzip on;
>        š š š šgzip_min_length 1100;
>        š š š šgzip_buffers 4 8k;
>        š š š šgzip_types text/plain text/css application/x-javascript
>        text/xml
>        application/xml application/xml+rss text/javascript;
> 
>        š š š šoutput_buffers 1 128k;
>        š š š špostpone_output 1460;
> 
>        š š š šaio on;
>        š š š šdirectio 512;
>        š š š šsendfile on;
>        š š š štcp_nopush on;
>        š š š štcp_nodelay on;
> 
>        š š š škeepalive_timeout 75 20;
>        # š š š keepalive_disable msie6;
> 
>        š š š šignore_invalid_headers on;
>        š š š šserver_name_in_redirect on;
> 
>        š š š šfastcgi_pass_request_headers on;
>        š š š šfastcgi_intercept_errors on;
>        š š š šfastcgi_buffer_size 32k;
>        š š š šfastcgi_buffers 8 16k;
>        š š š šfastcgi_read_timeout 300;
>        š š š šfastcgi_send_timeout 300;
> 
>        š š š š# use the map module to correctly set $script_url variable
>        š š š šmap $uri $script_url {
>        ššššššššš~^(?<script_filename>.+\.(php|html))(?<path_info>.+)$
>        $path_info;
>        ššššššššš~^(?<script_filename>.+\.(php|html))$
>        $script_filename;
>        š š š š}
> 
>        š š š šindex index.html;
> 
>        š š š šupstream phpfarm {
>        š š š ššserver unix:/var/run/fastcgi/php-fpm-1.sock weight=100
>        max_fails=3
>        fail_timeout=5;
>        š š š ššserver unix:/var/run/fastcgi/php-fpm-2.sock weight=100
>        max_fails=3
>        fail_timeout=5;
>        š š š ššserver unix:/var/run/fastcgi/php-fpm-3.sock weight=100
>        max_fails=3
>        fail_timeout=5;
>        ššššššš}
> 
>        ššššššš# upload progress
>        šššššššupload_progress uploads 1m;
>        šššššššupload_progress_content_type "application/json";
>        šššššššupload_progress_json_output;
> 
>        ### virtual host configuration
> 
>        š[...]
> 
>        }
> 
>        Posted at Nginx Forum:
>        [3]http://forum.nginx.org/read.php?21,218659,218662#msg-218662
>        _______________________________________________
>        nginx-ru mailing list
>        [4]nginx-ru@xxxxxxxxx
>        [5]http://mailman.nginx.org/mailman/listinfo/nginx-ru
> 
> References
> 
>    Visible links
>    1. mailto:drobly@xxxxxxxxx
>    2. mailto:nginx-forum@xxxxxxxx
>    3. http://forum.nginx.org/read.php?21,218659,218662#msg-218662
>    4. mailto:nginx-ru@xxxxxxxxx
>    5. http://mailman.nginx.org/mailman/listinfo/nginx-ru

> --- src/http/ngx_http_core_module.c.old       2011-11-21 09:26:36.860810513 
> +0600
> +++ src/http/ngx_http_core_module.c   2011-11-21 09:27:23.624809491 +0600
> @@ -3267,12 +3267,12 @@
>       *     clcf->auto_redirect = 0;
>       *     clcf->alias = 0;
>       *     clcf->gzip_proxied = 0;
> +     *     clcf->keepalive_disable = 0;
>       */
>  
>      clcf->client_max_body_size = NGX_CONF_UNSET;
>      clcf->client_body_buffer_size = NGX_CONF_UNSET_SIZE;
>      clcf->client_body_timeout = NGX_CONF_UNSET_MSEC;
> -    clcf->keepalive_disable = NGX_CONF_UNSET_UINT;
>      clcf->satisfy = NGX_CONF_UNSET_UINT;
>      clcf->if_modified_since = NGX_CONF_UNSET_UINT;
>      clcf->max_ranges = NGX_CONF_UNSET_UINT;

> _______________________________________________
> nginx-ru mailing list
> nginx-ru@xxxxxxxxx
> http://mailman.nginx.org/mailman/listinfo/nginx-ru


-- 
Ruslan Ermilov

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.