proxy webdav
This commit is contained in:
parent
5308aa4eff
commit
4590449dd9
1 changed files with 19 additions and 2 deletions
|
|
@ -6,7 +6,6 @@
|
||||||
http = {
|
http = {
|
||||||
routers = {
|
routers = {
|
||||||
|
|
||||||
# Photo service (Immich)
|
|
||||||
photo = {
|
photo = {
|
||||||
rule = "Host(`photo.yanlincs.com`)";
|
rule = "Host(`photo.yanlincs.com`)";
|
||||||
service = "photo";
|
service = "photo";
|
||||||
|
|
@ -18,11 +17,21 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
file = {
|
||||||
|
rule = "Host(`file.yanlincs.com`)";
|
||||||
|
service = "file";
|
||||||
|
tls = {
|
||||||
|
certResolver = "cloudflare";
|
||||||
|
domains = [{
|
||||||
|
main = "*.yanlincs.com";
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
|
||||||
# Photo service backend
|
|
||||||
photo = {
|
photo = {
|
||||||
loadBalancer = {
|
loadBalancer = {
|
||||||
servers = [{
|
servers = [{
|
||||||
|
|
@ -31,6 +40,14 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
file = {
|
||||||
|
loadBalancer = {
|
||||||
|
servers = [{
|
||||||
|
url = "http://thinkpad.yanlincs.com:5099";
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue