Skip to content

Commit

Permalink
Set maximum allowed size for file uploads in nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenaH84 committed Nov 22, 2024
1 parent 8b84b5f commit 396392f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nginx/project.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}

# Set maximum allowed size for file uploads
client_max_body_size 100M;

# location /umami.js {
# proxy_pass http://umami:3000;
# proxy_set_header Host $host;
Expand Down

0 comments on commit 396392f

Please sign in to comment.