mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
fix: Increase client_max_body_size for larger file uploads through nginx (#1210)
This commit is contained in:
parent
55cdd2eec6
commit
398687fad0
1 changed files with 4 additions and 0 deletions
|
|
@ -7,6 +7,10 @@ server {
|
||||||
|
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
|
|
||||||
|
# Increase the client_max_body_size to allow larger file uploads
|
||||||
|
# The default limits for image uploads as of 11/22/23 is 20MB/file, and 25MB/request
|
||||||
|
client_max_body_size 25M;
|
||||||
|
|
||||||
location /api {
|
location /api {
|
||||||
proxy_pass http://api:3080/api;
|
proxy_pass http://api:3080/api;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue