mirror of https://github.com/Chocobozzz/PeerTube
Support edition upload in nginx
parent
22e909224c
commit
5357ce9347
|
@ -85,7 +85,7 @@ server {
|
||||||
try_files /dev/null @api;
|
try_files /dev/null @api;
|
||||||
}
|
}
|
||||||
|
|
||||||
location = /api/v1/videos/upload {
|
location ~ ^/api/v1/videos/(upload|([^/]+/editor/edit))$ {
|
||||||
limit_except POST HEAD { deny all; }
|
limit_except POST HEAD { deny all; }
|
||||||
|
|
||||||
# This is the maximum upload size, which roughly matches the maximum size of a video file.
|
# This is the maximum upload size, which roughly matches the maximum size of a video file.
|
||||||
|
|
Loading…
Reference in New Issue