Welcome! Log In Create A New Profile

Advanced

Re: 504 error Gateway Timeout.

Jamie Dolan
March 19, 2011 03:16PM
>On Sat, Mar 19, 2011 at 1:49 PM, Vitaly Tskhovrebov <vt@chgk.info> wrote:
> This things should be fine. Please post your entire config.
> Regards, Vitaly Tskhovrebov
> System Administrator
> U.S. +1 (206) 905-9939
> Russia +7 911 094-2035

Thank You. This is my config file:

user nobody;
# no need for more workers in the proxy mode
worker_processes 4;
error_log /var/log/nginx/error.log info;
worker_rlimit_nofile 20480;
events {
worker_connections 5120; # increase for busier servers
use epoll; # you should use epoll here for Linux kernels 2.6.x
}
http {
server_name_in_redirect off;
server_names_hash_max_size 2048;
server_names_hash_bucket_size 256;
include mime.types;
default_type application/octet-stream;
server_tokens off;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 60;
gzip on;
gzip_vary on;
gzip_disable "MSIE [1-6]\.";
gzip_proxied any;
gzip_http_version 1.1;
gzip_min_length 0;
gzip_comp_level 6;
gzip_buffers 16 8k;
# You can remove image/png image/x-icon image/gif image/jpeg if you
have slow CPU
gzip_types text/plain text/xml text/css application/x-javascript
application/xml image/png image/x-icon image/gif image/jpeg
application/xml+rss text/javascript application/atom+xml;
ignore_invalid_headers on;
client_header_timeout 3m;
client_body_timeout 3m;
send_timeout 3m;
reset_timedout_connection on;
connection_pool_size 256;
client_header_buffer_size 256k;
large_client_header_buffers 4 256k;
client_max_body_size 4M;
client_body_buffer_size 128k;
request_pool_size 32k;
output_buffers 4 32k;
postpone_output 1460;
proxy_temp_path /tmp/nginx_proxy/;
client_body_in_file_only on;
log_format bytes_log "$msec $bytes_sent .";
include "/etc/nginx/vhosts/*";
}


Regards;

Jamie

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

504 error Gateway Timeout.

Jamie Dolan March 17, 2011 12:54AM

Re: 504 error Gateway Timeout.

vt March 19, 2011 02:52PM

Re: 504 error Gateway Timeout.

Jamie Dolan March 19, 2011 03:16PM

Re: 504 error Gateway Timeout.

Jamie Dolan March 20, 2011 04:20AM

Re: 504 error Gateway Timeout.

vt March 20, 2011 05:22AM

Re: 504 error Gateway Timeout.

Jamie Dolan March 20, 2011 03:26PM

Re: 504 error Gateway Timeout.

vt March 20, 2011 04:34PM

Re: 504 error Gateway Timeout.

Jamie Dolan March 20, 2011 06:20PM

Re: 504 error Gateway Timeout.

leolance March 20, 2011 05:09AM

Re: 504 error Gateway Timeout.

Antoine L. May 17, 2011 10:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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