feat: increase proxy send timeout for immich, adjust some settings

This commit is contained in:
oddlama 2025-09-22 23:23:31 +02:00
parent 01d5056050
commit 140dba323c
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
3 changed files with 29 additions and 30 deletions

View file

@ -66,7 +66,7 @@ in
backup.database = {
cronExpression = "0 02 * * *";
enabled = true;
keepLastAmount = 14;
keepLastAmount = 3;
};
ffmpeg = {
accel = "disabled";
@ -151,7 +151,7 @@ in
facialRecognition = {
enabled = true;
maxDistance = 0.5;
minFaces = 2;
minFaces = 3;
minScore = 0.65;
modelName = "buffalo_l";
};
@ -204,7 +204,7 @@ in
storageTemplate = {
enabled = true;
hashVerificationEnabled = true;
template = "{{y}}/{{y}}-{{MM}}-{{dd}}/{{filename}}";
template = "{{y}}/{{y}}-{{MM}}-{{dd}}/{{{filename}}}";
};
theme.customCss = "";
trash = {
@ -266,15 +266,14 @@ in
locations."/" = {
proxyPass = "http://immich";
proxyWebsockets = true;
extraConfig = '''';
};
extraConfig = ''
client_max_body_size 50G;
proxy_buffering off;
proxy_request_buffering off;
proxy_read_timeout 1200s;
proxy_send_timeout 1200s;
send_timeout 1200s;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
send_timeout 3600s;
allow ${globals.net.home-lan.vlans.home.cidrv4};
allow ${globals.net.home-lan.vlans.home.cidrv6};
# Firezone traffic