fix: Git push HTTP 413 — 添加 client_max_body_size 和代理超时配置
This commit is contained in:
parent
1583d0a581
commit
8fac183661
|
|
@ -12,5 +12,10 @@ server {
|
|||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
|
||||
client_max_body_size 0;
|
||||
proxy_request_buffering off;
|
||||
proxy_read_timeout 600s;
|
||||
proxy_send_timeout 600s;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue