2024-11-21 18:39:34 +01:00
|
|
|
{
|
|
|
|
services.immich = {
|
|
|
|
enable = true;
|
|
|
|
# default port: 3001
|
|
|
|
machine-learning.enable = true;
|
|
|
|
host = "localhost";
|
|
|
|
};
|
|
|
|
|
|
|
|
services.nginx.virtualHosts."immich.cgiga.fr" = {
|
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
2024-11-21 18:40:50 +01:00
|
|
|
serverAliases = [ ];
|
2024-11-21 18:39:34 +01:00
|
|
|
locations."/".proxyPass = "http://localhost:2283/";
|
|
|
|
};
|
|
|
|
}
|