aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'support/nginx')
-rw-r--r--support/nginx/peertube9
1 files changed, 9 insertions, 0 deletions
diff --git a/support/nginx/peertube b/support/nginx/peertube
index 00ce1d0dc..d03f14613 100644
--- a/support/nginx/peertube
+++ b/support/nginx/peertube
@@ -78,6 +78,15 @@ server {
78 try_files /dev/null @api; 78 try_files /dev/null @api;
79 } 79 }
80 80
81 location = /api/v1/videos/upload-resumable {
82 if ($request_method = 'PUT') {
83 client_max_body_size 0;
84 proxy_request_buffering off;
85 }
86
87 try_files /dev/null @api;
88 }
89
81 location = /api/v1/videos/upload { 90 location = /api/v1/videos/upload {
82 limit_except POST HEAD { deny all; } 91 limit_except POST HEAD { deny all; }
83 92