aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/nginx/peertube
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-05-10 15:27:29 +0200
committerChocobozzz <me@florianbigard.com>2021-05-10 15:27:29 +0200
commitf2b5aa590ea3ff7ab24415df5c5ce7fcb73c5acc (patch)
tree4ba47df9b331ec931a33a50662cc5329305f4f11 /support/nginx/peertube
parent66615377644fc71a0f38e1b1edc31865e7d7427a (diff)
downloadPeerTube-f2b5aa590ea3ff7ab24415df5c5ce7fcb73c5acc.tar.gz
PeerTube-f2b5aa590ea3ff7ab24415df5c5ce7fcb73c5acc.tar.zst
PeerTube-f2b5aa590ea3ff7ab24415df5c5ce7fcb73c5acc.zip
Update nginx config for resumable upload
Diffstat (limited to 'support/nginx/peertube')
-rw-r--r--support/nginx/peertube6
1 files changed, 4 insertions, 2 deletions
diff --git a/support/nginx/peertube b/support/nginx/peertube
index 385acac24..d03f14613 100644
--- a/support/nginx/peertube
+++ b/support/nginx/peertube
@@ -79,8 +79,10 @@ server {
79 } 79 }
80 80
81 location = /api/v1/videos/upload-resumable { 81 location = /api/v1/videos/upload-resumable {
82 client_max_body_size 0; 82 if ($request_method = 'PUT') {
83 proxy_request_buffering off; 83 client_max_body_size 0;
84 proxy_request_buffering off;
85 }
84 86
85 try_files /dev/null @api; 87 try_files /dev/null @api;
86 } 88 }