Welcome! Log In Create A New Profile

Advanced

Re: keepalive disable msie6;

Ruslan Ermilov
November 21, 2011 02:14AM
On Mon, Nov 21, 2011 at 09:30:42AM +0600, Alexander Usov wrote:
> криво сделал, так лучше

Спасибо! Сегодня исправим.

> 21 ноября 2011 г. 9:28 пользователь Alexander Usov
> <[1]drobly@gmail.com> написал:
>
> патч
>
> 21 ноября 2011 г. 8:04 пользователь locojohn
> <[2]nginx-forum@nginx.us> написал:
>
> Конечно, ну за исключением
> виртуальных
> хостов и подключаемых конф. файлов -
> уверяю вас, там нет директивы
> 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@nginx.org
> [5]http://mailman.nginx.org/mailman/listinfo/nginx-ru
>
> References
>
> Visible links
> 1. mailto:drobly@gmail.com
> 2. mailto:nginx-forum@nginx.us
> 3. http://forum.nginx.org/read.php?21,218659,218662#msg-218662
> 4. mailto:nginx-ru@nginx.org
> 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@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru


--
Ruslan Ermilov

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

keepalive disable msie6;

locojohn November 20, 2011 08:04PM

Re: keepalive disable msie6;

Craken November 20, 2011 08:51PM

Re: keepalive disable msie6;

locojohn November 20, 2011 09:04PM

Re: keepalive disable msie6;

Alexander Usov November 20, 2011 10:30PM

Re: keepalive disable msie6;

Alexander Usov November 20, 2011 10:32PM

Re: keepalive disable msie6;

Ruslan Ermilov November 21, 2011 02:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 307
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