add local proxy to immich
This commit is contained in:
parent
42cff0f304
commit
a4b2a87960
3 changed files with 19 additions and 28 deletions
|
|
@ -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";
|
||||
}];
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue