attempt to optimize nextcloud upload buffer

This commit is contained in:
2023-11-30 10:58:14 -06:00
parent a718ddd27b
commit 47db75aa0d
2 changed files with 13 additions and 1 deletions

View File

@@ -71,6 +71,16 @@ in {
proxy_cache_path /var/cache/nginx/jellyfin levels=1:2 keys_zone=jellyfin:100m max_size=15g inactive=30d use_temp_path=off;
map $request_uri $h264Level { ~(h264-level=)(.+?)& $2; }
map $request_uri $h264Profile { ~(h264-profile=)(.+?)& $2; }
## upload configs
proxy_read_timeout 600;
proxy_connect_timeout 600;
proxy_send_timeout 600;
send_timeout 600;
fastcgi_read_timeout 600;
# client_max_body_size 0;
fastcgi_buffers 64 4k;
'';
virtualHosts = let
base = locations: {