diff options
Diffstat (limited to 'support/nginx/peertube')
-rw-r--r-- | support/nginx/peertube | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
85 | try_files /dev/null @api; | 85 | try_files /dev/null @api; |
86 | } | 86 | } |
87 | 87 | ||
88 | location = /api/v1/videos/upload { | 88 | location ~ ^/api/v1/videos/(upload|([^/]+/editor/edit))$ { |
89 | limit_except POST HEAD { deny all; } | 89 | limit_except POST HEAD { deny all; } |
90 | 90 | ||
91 | # This is the maximum upload size, which roughly matches the maximum size of a video file. | 91 | # This is the maximum upload size, which roughly matches the maximum size of a video file. |