Skip to content

Commit cb5a2bf

Browse files
committed
fix: increase nginx client_max_body_size to 50M for file uploads
1 parent dd64ebe commit cb5a2bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nginx.conf.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ http {
3131
server_name _;
3232
root /usr/share/nginx/html;
3333
index index.html;
34+
35+
# File upload limits
36+
client_max_body_size 50M;
3437

3538
# Security headers
3639
add_header X-Frame-Options "SAMEORIGIN" always;

0 commit comments

Comments
 (0)