Support edition upload in nginx

pull/4867/head
Chocobozzz 2022-03-18 16:31:30 +01:00
parent 22e909224c
commit 5357ce9347
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ server {
try_files /dev/null @api;
}
location = /api/v1/videos/upload {
location ~ ^/api/v1/videos/(upload|([^/]+/editor/edit))$ {
limit_except POST HEAD { deny all; }
# This is the maximum upload size, which roughly matches the maximum size of a video file.