fix: Increase client_max_body_size for larger file uploads through nginx (#1210)

This commit is contained in:
Danny Avila 2023-11-22 19:07:01 -05:00 committed by GitHub
parent 55cdd2eec6
commit 398687fad0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
} }