diff options
Diffstat (limited to 'support/nginx/peertube')
-rw-r--r-- | support/nginx/peertube | 6 |
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 | } |