mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-16 18:25:09 -06:00
Update nginx config for resumable upload
This commit is contained in:
parent
6661537764
commit
f2b5aa590e
@ -79,8 +79,10 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location = /api/v1/videos/upload-resumable {
|
location = /api/v1/videos/upload-resumable {
|
||||||
|
if ($request_method = 'PUT') {
|
||||||
client_max_body_size 0;
|
client_max_body_size 0;
|
||||||
proxy_request_buffering off;
|
proxy_request_buffering off;
|
||||||
|
}
|
||||||
|
|
||||||
try_files /dev/null @api;
|
try_files /dev/null @api;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user