attempt to optimize nextcloud upload buffer
This commit is contained in:
parent
a718ddd27b
commit
47db75aa0d
@ -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: {
|
||||
|
||||
@ -96,7 +96,7 @@ in {
|
||||
configureRedis = true;
|
||||
extraAppsEnable = true;
|
||||
enableImagemagick = true;
|
||||
maxUploadSize = "512M";
|
||||
maxUploadSize = "25G";
|
||||
hostName = "cloud.servidos.lat";
|
||||
config = {
|
||||
adminpassFile = "${pkgs.writeText "adminpass"
|
||||
@ -124,6 +124,8 @@ in {
|
||||
"opcache.jit" = "1255";
|
||||
"opcache.jit_buffer_size" = "128M";
|
||||
"opcache.max_accelerated_files" = "10000";
|
||||
"opcache.huge_code_pages" = "1";
|
||||
"opcache.enable_file_override" = "1";
|
||||
"opcache.memory_consumption" = "128";
|
||||
"opcache.revalidate_freq" = "1";
|
||||
"opcache.save_comments" = "1";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user