fix(上传文件): 解决上传文件大小限制问题
This commit is contained in:
1 parent
9203a90637
commit
fc4631218b
3 files changed
+13
-3
No files matched your search
+5
-1
@@ -1,7 +1,9 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
client_max_body_size 100m;
|
||||
client_max_body_size 200m;
|
||||
client_body_timeout 300s;
|
||||
send_timeout 300s;
|
||||
resolver 127.0.0.11 valid=30s ipv6=off;
|
||||
resolver_timeout 5s;
|
||||
|
||||
@@ -28,5 +30,7 @@ server {
|
||||
proxy_buffering off;
|
||||
proxy_cache off;
|
||||
proxy_read_timeout 300s;
|
||||
proxy_connect_timeout 75s;
|
||||
proxy_send_timeout 300s;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user