fix: immich
This commit is contained in:
@@ -4,15 +4,14 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
host = "127.0.0.1";
|
host = "127.0.0.1";
|
||||||
port = 8096;
|
port = 8096;
|
||||||
user = "nas";
|
mediaLocation = "/mnt/nas/immich";
|
||||||
group = "nextcloud";
|
group = "nextcloud";
|
||||||
mediaLocation = "/mnt/nas/share";
|
};
|
||||||
services.caddy.virtualHosts."immich.imxyy.top" = {
|
services.caddy.virtualHosts."immich.imxyy.top" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
reverse_proxy :8096 {
|
reverse_proxy :8096 {
|
||||||
header_up X-Real-IP {remote_host}
|
header_up X-Real-IP {remote_host}
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -392,6 +392,21 @@
|
|||||||
customDomains = [ "matrix.imxyy.top" ];
|
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";
|
name = "minecraft";
|
||||||
type = "tcp";
|
type = "tcp";
|
||||||
|
|||||||
Reference in New Issue
Block a user