Home Backend Development PHP Tutorial nginx upstream timed out 10060 error solution

nginx upstream timed out 10060 error solution

Aug 08, 2016 am 09:31 AM
header http proxy size timeout

Reducing the reverse proxy connection time can solve this problem.
server {
listen 80;
server_name 127.0.0.1;

#charset koi8-r;

#access_log logs/host.access.log main;

location /{
proxy_pass http://paila;
proxy_redirect off ;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header
client_body_buffer_size 256k;
proxy_connect_timeout 1;
proxy_send_timeout 30 ;
proxy_read_timeout 60;
proxy_buffer_size 256k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
proxy_temp_file_write_size 256k;
proxy_next_upstream error timeout invalid_header http_500 http _503 http_404;
proxy_max_temp_file_size 128m;
}

The above introduces the solution to the nginx upstream timed out 10060 error, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What does http status code 520 mean? What does http status code 520 mean? Oct 13, 2023 pm 03:11 PM

What does http status code 520 mean?

Deployment strategy of containers and microservices under Nginx Proxy Manager Deployment strategy of containers and microservices under Nginx Proxy Manager Sep 27, 2023 pm 01:06 PM

Deployment strategy of containers and microservices under Nginx Proxy Manager

How to solve the blue screen of win11 clock watchdog timeout? How to solve the blue screen of win11 clock watchdog timeout? Feb 14, 2024 pm 04:00 PM

How to solve the blue screen of win11 clock watchdog timeout?

Understand common application scenarios of web page redirection and understand the HTTP 301 status code Understand common application scenarios of web page redirection and understand the HTTP 301 status code Feb 18, 2024 pm 08:41 PM

Understand common application scenarios of web page redirection and understand the HTTP 301 status code

Nginx Proxy Manager Tutorial: Quick Start Guide Nginx Proxy Manager Tutorial: Quick Start Guide Sep 27, 2023 pm 05:39 PM

Nginx Proxy Manager Tutorial: Quick Start Guide

How to use Nginx Proxy Manager to achieve load balancing of multiple servers How to use Nginx Proxy Manager to achieve load balancing of multiple servers Sep 27, 2023 pm 09:42 PM

How to use Nginx Proxy Manager to achieve load balancing of multiple servers

How to use Nginx Proxy Manager to quickly cache HTML pages How to use Nginx Proxy Manager to quickly cache HTML pages Sep 28, 2023 am 10:58 AM

How to use Nginx Proxy Manager to quickly cache HTML pages

What is http status code 403? What is http status code 403? Oct 07, 2023 pm 02:04 PM

What is http status code 403?

See all articles