increase max_body_size and add client_body_buffer_size

This will hopefully fix nginx warn spam when uploading large files
This commit is contained in:
James 2022-01-31 22:28:40 +00:00
parent b841023bce
commit 15b0eedd57
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ server {
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
add_header Front-End-Https on; add_header Front-End-Https on;
client_max_body_size 1G; client_max_body_size 5G;
client_body_buffer_size 1G;
} }
} }