Update nginx config for resumable upload

This commit is contained in:
Chocobozzz 2021-05-10 15:27:29 +02:00
parent 6661537764
commit f2b5aa590e
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 4 additions and 2 deletions

View File

@ -79,8 +79,10 @@ server {
}
location = /api/v1/videos/upload-resumable {
client_max_body_size 0;
proxy_request_buffering off;
if ($request_method = 'PUT') {
client_max_body_size 0;
proxy_request_buffering off;
}
try_files /dev/null @api;
}