Update nginx template to support user import

This commit is contained in:
Chocobozzz 2024-02-12 10:50:11 +01:00 committed by Chocobozzz
parent b18127d91b
commit 35f0bb14be
1 changed files with 7 additions and 0 deletions

View File

@ -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; }