1、超时 gateway timeout
增加 proxy_read_timeout 7200;
比如:
ocation / {
proxy_pass *.*.*:8088;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_read_timeout 7200;
}
2、文件大小限制
增加
client_max_body_size 1024M;
http {
client_max_body_size 1024M; #限制1024M
include /etc/nginx/conf.d/*.conf;
}
阅读(1008) | 评论(0) | 转发(0) |