From 35f0bb14be8a129ec63aa7f6678587fbbe8e8467 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 12 Feb 2024 10:50:11 +0100 Subject: [PATCH] Update nginx template to support user import --- support/nginx/peertube | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/support/nginx/peertube b/support/nginx/peertube index ba4388883..34697fdc5 100644 --- a/support/nginx/peertube +++ b/support/nginx/peertube @@ -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; }