1
0
Fork 0
forked from exozyme/nginx

Update peertube.conf for v6.1.0

This commit is contained in:
Anthony Wang 2024-04-29 18:52:38 +00:00
parent 40f25073bb
commit f216e37a42
Signed by: a
SSH key fingerprint: SHA256:B5ADfMCqd2M7d/jtXDoihAV/yfXOAbWWri9+GdCN4hQ

View file

@ -42,6 +42,13 @@ server {
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))$ {
limit_except POST HEAD {
deny all;