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