# Nginx conf conf/nginx.conf# Created by http://www.wdlinux.cn# Last Updated2010.06. onUser www www;worker_processes3; Error_log logs/error.log notice;pid Logs/Nginx.pid;worker_rlimit_nofile5120; events {use epoll; Worker_connections5120;} HTTP {include mime.types; Default_type Application/octet-stream; Server_names_hash_bucket_size -; Client_header_buffer_size 32k; Large_client_header_buffers432k; Client_max_body_size 22m; Limit_conn_zone $binary _remote_addr Zone=one:32k; Sendfile on; Tcp_nopush on; Keepalive_timeout -; Tcp_nodelay on; #FastCGI相关参数是为了改善网站的性能: Reduce resource usage and improve access speed. The following parameters can be understood by literal means. Fastcgi_connect_timeout -; Fastcgi_send_timeout -; Fastcgi_read_timeout -; Fastcgi_buffer_size 128k; Fastcgi_buffers8128k; Fastcgi_busy_buffers_size 256k; Fastcgi_temp_file_write_size 256k; Fastcgi_intercept_errors on; gzip on; Gzip_min_length 1k; Gzip_buffers416k; Gzip_http_version1.0; Gzip_comp_level2; Gzip_types text/plain Application/x-javascript text/css application/XML; Gzip_vary on; Log_format Wwwlogs'$remote _addr-$remote _user [$time _local] $request $status $body _bytes_sent $http _referer $http _user_agent $http _x_ Forwarded_for'; #includedefault. conf; Include Vhost/*. conf;}
Add that part in the middle.
WDCP 504 Gateway Time Out