Nginx+webpy appears upstream timed out

Source: Internet
Author: User

About the error of Nginx configuration webpy application

Upstream timed out (a while192.168.  6.141"post/api/http/1.1", upstream:

Workaround:

Configure the following under server in your nginx master configuration file, if your nginx is a proxy, set the configuration of the proxy, if it is fastcgi, set the fastcgi related configuration. We are currently configuring the Webpy application, so the configuration is fastcgi related.

Large_client_header_buffers416k;client_max_body_size 30m;client_body_buffer_size 128k; #proxy_connect_timeout -; #proxy_read_timeout -; #proxy_send_timeout -; #proxy_buffer_size 64k; #proxy_buffers432k, #proxy_busy_buffers_size 64k, #proxy_temp_file_write_size 64k;fastcgi_connect_timeout -; Fastcgi_read_timeout -; Fastcgi_send_timeout -; fastcgi_buffer_size 64k;fastcgi_buffers432k;fastcgi_busy_buffers_size 64k;fastcgi_temp_file_write_size 64k;

Re-reload your nginx configuration for normal access.

Nginx+webpy appears upstream timed out

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.