服务器前端加入反向代理 Nginx 后,用户下载生成的Excel表格时候报错,
An error occurred.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
If you are the system administrator of this resource then you should check the error log for details.
Faithfully yours, nginx.
生成的时间比较长,说有5分钟,
我检查 Nginx的错误日志,发现 :
upstream timed out .......错误
大致意思是和后面的web服务器连接时候,读取数据超时了。
修改方案:
proxy_connect_timeout 900; #nginx跟后端服务器连接超时时间(代理连接超时)
proxy_send_timeout 900; #后端服务器数据回传时间(代理发送超时)
proxy_read_timeout 900; #连接成功后,后端服务器响应时间(代理接收超时)
这个应该可以了。
相关推荐
样本输入和输出: input (line in nginx_error_log):2012/04/15 22:01:47 [error] 3258#0: *887 upstream timed out (110: Connection timed out) while reading upstream, client: 192.168.126.1, server: *....
此资源有两个文件,含 nginx-upstream-jvm-route 和 nginx 对应版本,都是tar.gz文件。 安装方法网上很多就不写了,亲测可用。 不用担心版本不匹配造成安装失败,再浪费积分去到处下载尝试的烦恼。 此资源有两个文件...
nginx upstream fair算法 编译时加下面选项: --add-module=./nginx-upstream-fair make && make install
特点:支持周期性upstream服务管理操作支持管理和健康检查支持upstream动态更新有利于加权轮询或哈希平衡支持 Nginx C upstream同步操作可使用级别和键值实现集群使用简介:-- config.lua _M = {} _M.global ...
官方nginx 镜像不带主动健康,本镜像将 nginx_upstream_check健康检查 打包到了镜像中。
nginx-upstream-jvm-route 支持nginx版本1.15 解决nginx: [emerg] invalid parameter "srun_id=tomcat1" 问题
NGINX第三方模块:nginx_upstream_hash-0.3.1.tar.gz。
借助淘宝技术团队开发的nginx模快nginx_upstream_check_module来检测后方realserver的健康状态,如果后端服务器不可用,则会将其踢出upstream,所有的请求不转发到这台服务器。当期恢复正常时,将其加入upstream。 ...
Upstream Security Global Automotive Cybersecurity Report 2022
nginx优化之request_time 和upstream_response_time差别笔者在根据nginx的accesslog中$request_time
Nginx upstream urlhash url hash 反向代理 Nginx upstream urlhash url hash 反向代理
WordPress的GraphQL API 将您的WordPress网站转换为现代GraphQL服务器: 。... 该插件需要第三方依赖,但... 如果在安装插件时收到“ 504网关超时”错误,或在日志中输入"upstream timed out (110: Connection timed out
这是一个很小的脚本文件用来管理 Nginx 的 upstream 配置。 使用方法:upstream_manager.py <cluster> <action> [...]
nginx_upstream_jvm_route 是一个 Nginx 的扩展模块,用来实现基于 Cookie 的 Session Sticky 的功能。 安装方法(进入Nginx源码目录): #patch -p0 # ./configure --prefix=/usr/nginx-0.8.1 --with-...
NGINX第三方模块:nginx_upstream_hash-0.3.2,0.3.2版本。
nginx配置upstream的资源文件文件,下载下来直接上传至服务解压即可
nginx_upstream_jvm_route 是一个 Nginx 的扩展模块,用来实现基于 Cookie 的 Session Sticky 的功能。 安装方法(进入Nginx源码目录): #patch -p0 # ./configure --prefix=/usr/nginx-0.8.1 --with-...
linux nginx nginx_upstream_jvm_route
zabbix 主动检测nginx upstream servers 故障报警,无需安装python插件,开箱即用,支持python3和python2
本文是关于PopMetal和PX2上运行upstream linux kernel代码。