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";
|
url = "http://${ipImmichMachineLearning}:3003";
|
||||||
};
|
};
|
||||||
map = {
|
map.enabled = true;
|
||||||
enabled = true;
|
|
||||||
darkStyle = "";
|
|
||||||
lightStyle = "";
|
|
||||||
};
|
|
||||||
newVersionCheck.enabled = true;
|
newVersionCheck.enabled = true;
|
||||||
oauth = rec {
|
oauth = rec {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
|
@ -212,7 +208,12 @@ in {
|
||||||
proxyWebsockets = true;
|
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;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -237,9 +238,16 @@ in {
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://immich";
|
proxyPass = "http://immich";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
|
extraConfig = ''
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
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.cidrv4};
|
||||||
allow ${globals.net.home-lan.cidrv6};
|
allow ${globals.net.home-lan.cidrv6};
|
||||||
deny all;
|
deny all;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue