aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/nginx/peertube
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-03-18 16:31:30 +0100
committerChocobozzz <me@florianbigard.com>2022-03-18 16:31:30 +0100
commit5357ce93474b59bac9c7b1fbe4224e0f1fb7ea66 (patch)
tree0f511c5a68b0e38c5c26f91fc6d8d288eb47fc4c /support/nginx/peertube
parent22e909224c023c10699fce5c8b9db4be2cd049d7 (diff)
downloadPeerTube-5357ce93474b59bac9c7b1fbe4224e0f1fb7ea66.tar.gz
PeerTube-5357ce93474b59bac9c7b1fbe4224e0f1fb7ea66.tar.zst
PeerTube-5357ce93474b59bac9c7b1fbe4224e0f1fb7ea66.zip
Support edition upload in nginx
Diffstat (limited to 'support/nginx/peertube')
-rw-r--r--support/nginx/peertube2
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.