From 46feafc923b80cdf65f56d7fbfc608b867d2dcd1 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Mon, 29 Apr 2024 13:42:10 +0200 Subject: [PATCH] Update nginx config according to upstream --- nginx/peertube.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nginx/peertube.conf b/nginx/peertube.conf index 8942afe..57fbe4d 100644 --- a/nginx/peertube.conf +++ b/nginx/peertube.conf @@ -36,6 +36,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; }