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