proxy webdav

This commit is contained in:
Yan Lin 2025-12-14 03:11:06 +01:00
parent 5308aa4eff
commit 4590449dd9

View file

@ -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";
}];
};
};
};
};