docs(nginx): increase max request size

This commit is contained in:
Vorotynsky Maxim 2025-04-02 21:13:46 +02:00 committed by GitHub
parent 3a54c302a5
commit 8b104c8368
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 0 deletions

View File

@ -39,6 +39,10 @@ Let's Encrypt provides free SSL certificates trusted by most browsers, ideal for
# (Optional) Disable proxy buffering for better streaming response from models
proxy_buffering off;
# (Optional) Increase max request size for large attachments and long audio messages
client_max_body_size 20M;
proxy_read_timeout 10m;
}
}
```

View File

@ -33,6 +33,10 @@ Using self-signed certificates is suitable for development or internal use where
# (Optional) Disable proxy buffering for better streaming response from models
proxy_buffering off;
# (Optional) Increase max request size for large attachments and long audio messages
client_max_body_size 20M;
proxy_read_timeout 10m;
}
}
```

View File

@ -129,6 +129,10 @@ http {
# (Optional) Disable proxy buffering for better streaming response from models
proxy_buffering off;
# (Optional) Increase max request size for large attachments and long audio messages
client_max_body_size 20M;
proxy_read_timeout 10m;
}
}