immich
This commit is contained in:
parent
e4dc04a7ff
commit
4eedb65822
1 changed files with 17 additions and 17 deletions
|
|
@ -47,24 +47,24 @@
|
||||||
machine-learning.enable = false;
|
machine-learning.enable = false;
|
||||||
mediaLocation = "/rice/immich";
|
mediaLocation = "/rice/immich";
|
||||||
};
|
};
|
||||||
nginx = {
|
nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts."img.10110110.xyz" = {
|
virtualHosts."img.10110110.xyz" = {
|
||||||
useACMEHost = "10110110.xyz";
|
useACMEHost = "10110110.xyz";
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://localhost:${toString config.services.immich.port}";
|
proxyPass = "http://localhost:${toString config.services.immich.port}";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
client_max_body_size 50000M;
|
client_max_body_size 50000M;
|
||||||
proxy_read_timeout 600s;
|
proxy_read_timeout 600s;
|
||||||
proxy_send_timeout 600s;
|
proxy_send_timeout 600s;
|
||||||
send_timeout 600s;
|
send_timeout 600s;
|
||||||
'';
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
};
|
};
|
||||||
boot = {
|
boot = {
|
||||||
tmp.cleanOnBoot = true;
|
tmp.cleanOnBoot = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue