Skip to content

Commit 9f09b82

Browse files
authored
Update nginx.conf
Fixed error in max client body size
1 parent 2a824c9 commit 9f09b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ http {
3434
proxy_set_header Host $host;
3535
proxy_set_header X-Real-IP $remote_addr;
3636
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
37-
client_max_body_size 2048;
37+
client_max_body_size 2048m;
3838
client_body_buffer_size 128k;
3939
proxy_connect_timeout 90;
4040
proxy_buffers 32 4k;

0 commit comments

Comments
 (0)