码迷,mamicode.com
首页 > 其他好文 > 详细

nginx反向代理中表单提交502

时间:2014-11-04 17:39:37      阅读:520      评论:0      收藏:0      [点我收藏+]

标签:nginx反向代理中表单提交502

nginx的参数调整


nginx.conf


  server_names_hash_bucket_size 256;

  client_header_buffer_size 256k;

  large_client_header_buffers 4 256k;

  client_max_body_size 50m;

  sendfile on;

  tcp_nopush     on;


  keepalive_timeout 200;

 tcp_nodelay on;

 client_body_buffer_size        256k;

    client_header_timeout     3m;

    client_body_timeout 3m;

    send_timeout             3m;

 server_tokens off;

  fastcgi_connect_timeout 300;

  fastcgi_send_timeout 300;

  fastcgi_read_timeout 300;

  fastcgi_buffer_size 128k;

  fastcgi_buffers 4 128k;

  fastcgi_busy_buffers_size 256k;

  fastcgi_temp_file_write_size 256k;

 proxy_connect_timeout    300;

  proxy_read_timeout       300;

  proxy_send_timeout       300;

  proxy_buffer_size        128k;

  proxy_buffers            4 128k;

  proxy_busy_buffers_size 256k;

  proxy_temp_file_write_size 256k;







vhost



        client_max_body_size 40m;

        client_body_buffer_size 256k;

        proxy_connect_timeout 900;

        proxy_send_timeout 900;

        proxy_read_timeout 900;

        proxy_buffer_size 256k;

        proxy_buffers 4 256k;

        proxy_busy_buffers_size 256k;

        proxy_temp_file_write_size 256k;


nginx反向代理中表单提交502

标签:nginx反向代理中表单提交502

原文地址:http://liang3391.blog.51cto.com/178205/1571718

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!