mirror of
https://github.com/Thumbscrew/nextcloud-docker-compose.git
synced 2025-01-18 17:45:46 +00:00
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:
parent
b841023bce
commit
15b0eedd57
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user