forked from mirrors_public/oddlama_nix-config
chore: don't buffer proxy requests to immich
This commit is contained in:
parent
3d9a041f0c
commit
9675fd6d70
1 changed files with 15 additions and 7 deletions
|
@ -69,11 +69,7 @@
|
|||
};
|
||||
url = "http://${ipImmichMachineLearning}:3003";
|
||||
};
|
||||
map = {
|
||||
enabled = true;
|
||||
darkStyle = "";
|
||||
lightStyle = "";
|
||||
};
|
||||
map.enabled = true;
|
||||
newVersionCheck.enabled = true;
|
||||
oauth = rec {
|
||||
enabled = true;
|
||||
|
@ -212,7 +208,12 @@ in {
|
|||
proxyWebsockets = true;
|
||||
};
|
||||
extraConfig = ''
|
||||
client_max_body_size 10G;
|
||||
client_max_body_size 50G;
|
||||
proxy_buffering off;
|
||||
proxy_request_buffering off;
|
||||
proxy_read_timeout 600s;
|
||||
proxy_send_timeout 600s;
|
||||
send_timeout 600s;
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
@ -237,9 +238,16 @@ in {
|
|||
locations."/" = {
|
||||
proxyPass = "http://immich";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = ''
|
||||
'';
|
||||
};
|
||||
extraConfig = ''
|
||||
client_max_body_size 10G;
|
||||
client_max_body_size 50G;
|
||||
proxy_buffering off;
|
||||
proxy_request_buffering off;
|
||||
proxy_read_timeout 600s;
|
||||
proxy_send_timeout 600s;
|
||||
send_timeout 600s;
|
||||
allow ${globals.net.home-lan.cidrv4};
|
||||
allow ${globals.net.home-lan.cidrv6};
|
||||
deny all;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue