Update nginx config according to upstream

This commit is contained in:
Johannes Zellner 2024-04-29 13:42:10 +02:00
parent c348b44294
commit 46feafc923

View file

@ -36,6 +36,13 @@ server {
try_files /dev/null @api; try_files /dev/null @api;
} }
location ~ ^/api/v1/users/[^/]+/imports/import-resumable$ {
client_max_body_size 0;
proxy_request_buffering off;
try_files /dev/null @api;
}
location ~ ^/api/v1/videos/(upload|([^/]+/studio/edit))$ { location ~ ^/api/v1/videos/(upload|([^/]+/studio/edit))$ {
limit_except POST HEAD { deny all; } limit_except POST HEAD { deny all; }