mirror of https://github.com/Chocobozzz/PeerTube
Update nginx template to support user import
parent
b18127d91b
commit
35f0bb14be
|
@ -85,6 +85,13 @@ server {
|
|||
try_files /dev/null @api;
|
||||
}
|
||||
|
||||
location ~ ^/api/v1/users/[^/]+/imports/import-resumable$ {
|
||||
client_max_body_size 0;
|
||||
proxy_request_buffering off;
|
||||
|
||||
try_files /dev/null @api;
|
||||
}
|
||||
|
||||
location ~ ^/api/v1/videos/(upload|([^/]+/studio/edit))$ {
|
||||
limit_except POST HEAD { deny all; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue