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 = {
|
||||
routers = {
|
||||
|
||||
# Photo service (Immich)
|
||||
photo = {
|
||||
rule = "Host(`photo.yanlincs.com`)";
|
||||
service = "photo";
|
||||
|
|
@ -18,11 +17,21 @@
|
|||
};
|
||||
};
|
||||
|
||||
file = {
|
||||
rule = "Host(`file.yanlincs.com`)";
|
||||
service = "file";
|
||||
tls = {
|
||||
certResolver = "cloudflare";
|
||||
domains = [{
|
||||
main = "*.yanlincs.com";
|
||||
}];
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
services = {
|
||||
|
||||
# Photo service backend
|
||||
photo = {
|
||||
loadBalancer = {
|
||||
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