Skip to content

Commit

Permalink
Increase client max body size in nginx configuration
Browse files Browse the repository at this point in the history
The client max body size setting in the nginx configuration file has been increased from 2048M to 5120M. These changes allow larger files to be uploaded, addressing issues with file upload size limits.
  • Loading branch information
ludeknovy committed Jun 1, 2024
1 parent 75ecc3a commit 55204ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ events {
}

http {
client_max_body_size 2048M;
client_max_body_size 5120M;

server {
listen 80;
server_name localhost;

client_max_body_size 2048M;
client_max_body_size 5120M;
root /usr/share/nginx/html;
index index.html index.htm;
include /etc/nginx/mime.types;
Expand Down

0 comments on commit 55204ef

Please sign in to comment.