Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Support edition upload in nginx

Chocobozzz5357ce93474b
diff --git a/support/nginx/peertube b/support/nginx/peertube
index 5d7b4f0f0c..425a78900d 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.