Skip to content

Commit

Permalink
fix: Increase client_max_body_size for larger file uploads through ng…
Browse files Browse the repository at this point in the history
…inx (#1210)
  • Loading branch information
danny-avila authored Nov 23, 2023
1 parent 55cdd2e commit 398687f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ server {

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 {
proxy_pass http://api:3080/api;
}
Expand Down

0 comments on commit 398687f

Please sign in to comment.