add local proxy to immich

This commit is contained in:
Yan Lin 2025-11-29 22:33:35 +01:00
parent 42cff0f304
commit a4b2a87960
3 changed files with 19 additions and 28 deletions

View file

@ -27,6 +27,17 @@
};
};
photo = {
rule = "Host(`photo.${config.networking.hostName}.yanlincs.com`)";
service = "photo";
tls = {
certResolver = "cloudflare";
domains = [{
main = "*.${config.networking.hostName}.yanlincs.com";
}];
};
};
};
services = {
@ -46,6 +57,14 @@
};
};
photo = {
loadBalancer = {
servers = [{
url = "http://127.0.0.1:5000";
}];
};
};
};
};
};