1
0
Fork 0

Support edition upload in nginx

This commit is contained in:
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

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.