aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/nginx
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-05-11 08:41:34 +0200
committerChocobozzz <me@florianbigard.com>2021-05-11 08:42:13 +0200
commitd795b76c44fbecb1438053a7d636f6fc089c8fa9 (patch)
tree8e0beb73f04687c87ed303e71cdda0c6ca27e591 /support/nginx
parent71fb8b5a344a91ecf9ecc98b6acebeb96d41b834 (diff)
downloadPeerTube-d795b76c44fbecb1438053a7d636f6fc089c8fa9.tar.gz
PeerTube-d795b76c44fbecb1438053a7d636f6fc089c8fa9.tar.zst
PeerTube-d795b76c44fbecb1438053a7d636f6fc089c8fa9.zip
Fix nginx config
Diffstat (limited to 'support/nginx')
-rw-r--r--support/nginx/peertube6
1 files changed, 2 insertions, 4 deletions
diff --git a/support/nginx/peertube b/support/nginx/peertube
index d03f14613..7c95c130c 100644
--- a/support/nginx/peertube
+++ b/support/nginx/peertube
@@ -79,10 +79,8 @@ server {
79 } 79 }
80 80
81 location = /api/v1/videos/upload-resumable { 81 location = /api/v1/videos/upload-resumable {
82 if ($request_method = 'PUT') { 82 client_max_body_size 0;
83 client_max_body_size 0; 83 proxy_request_buffering off;
84 proxy_request_buffering off;
85 }
86 84
87 try_files /dev/null @api; 85 try_files /dev/null @api;
88 } 86 }