From 5357ce93474b59bac9c7b1fbe4224e0f1fb7ea66 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 18 Mar 2022 16:31:30 +0100 Subject: Support edition upload in nginx --- support/nginx/peertube | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support') diff --git a/support/nginx/peertube b/support/nginx/peertube index 5d7b4f0f0..425a78900 100644 --- a/support/nginx/peertube +++ b/support/nginx/peertube @@ -85,7 +85,7 @@ server { try_files /dev/null @api; } - location = /api/v1/videos/upload { + location ~ ^/api/v1/videos/(upload|([^/]+/editor/edit))$ { limit_except POST HEAD { deny all; } # This is the maximum upload size, which roughly matches the maximum size of a video file. -- cgit v1.2.3