Add new Nginx config

Closes coop-cloud/peertube#6.
This commit is contained in:
decentral1se 2021-06-24 17:42:30 +02:00
parent d2f83bf386
commit 046286d266
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 7 additions and 0 deletions

View File

@ -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; }