nginx upstream timed out 10060错误解决
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 X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 50m;
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;
}
以上就介绍了nginx upstream timed out 10060错误解决,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。
上一篇: Yii2框架中如何获取URL的方法
下一篇: PHP的垃圾回收机制是怎样的?
推荐阅读
-
Nginx 502 bad gateway和Nginx 504 Gateway Time-out错误解决方法 错误解决办法
-
Nginx (104: Connection reset by peer )while reading upstream错误解决
-
解决修改Nginx配置 提示host not found in upstream xxxx.com错误的方法
-
一次nginx 504 Gateway Time-out错误排查、解决记录
-
nginx 504 Gateway Time-out错误解决方法
-
Nginx 502 bad gateway和Nginx 504 Gateway Time-out错误解决方法 错误解决办法
-
Nginx排错:Nginx日志报错connect() failed (110: Connection timed out) while connecting to upstream
-
解决nginx“504 Gateway Time-out”错误
-
通过端口1433连接到主机127.0.0.1的 TCP/IP 连接失败,错误:“connect timed out”的解决方法
-
nginx upstream timed out 10060错误解决