fix: immich

This commit is contained in:
2025-07-11 20:43:35 +08:00
parent 5648ae6b31
commit 2c035ac47a
2 changed files with 23 additions and 9 deletions

View File

@@ -4,9 +4,9 @@
enable = true;
host = "127.0.0.1";
port = 8096;
user = "nas";
mediaLocation = "/mnt/nas/immich";
group = "nextcloud";
mediaLocation = "/mnt/nas/share";
};
services.caddy.virtualHosts."immich.imxyy.top" = {
extraConfig = ''
reverse_proxy :8096 {
@@ -14,5 +14,4 @@
}
'';
};
};
}

View File

@@ -392,6 +392,21 @@
customDomains = [ "matrix.imxyy.top" ];
}
{
name = "immich-http";
type = "http";
localIP = "127.0.0.1";
localPort = 80;
customDomains = [ "immich.imxyy.top" ];
}
{
name = "immich-https";
type = "https";
localIP = "127.0.0.1";
localPort = 443;
customDomains = [ "immich.imxyy.top" ];
}
{
name = "minecraft";
type = "tcp";