From 046286d266be39ed4d339e615d42e2edd87d46ad Mon Sep 17 00:00:00 2001 From: decentral1se Date: Thu, 24 Jun 2021 17:42:30 +0200 Subject: [PATCH] Add new Nginx config Closes https://git.autonomic.zone/coop-cloud/peertube/issues/6. --- nginx.conf.tmpl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nginx.conf.tmpl b/nginx.conf.tmpl index 6591b35..0defdf8 100644 --- a/nginx.conf.tmpl +++ b/nginx.conf.tmpl @@ -39,6 +39,13 @@ http { try_files /dev/null @api; } + location = /api/v1/videos/upload-resumable { + client_max_body_size 0; + proxy_request_buffering off; + + try_files /dev/null @api; + } + location = /api/v1/videos/upload { limit_except POST HEAD { deny all; }