add microbin

This commit is contained in:
Yan Lin 2025-10-24 00:15:59 +02:00
parent 927e0b2e7a
commit 2a7f7fe975
2 changed files with 61 additions and 4 deletions

View file

@ -124,6 +124,19 @@
};
};
# MicroBin web clipboard
bin = {
rule = "Host(`bin.yanlincs.com`)";
entrypoints = "websecure";
service = "bin";
tls = {
certResolver = "cloudflare";
domains = [{
main = "*.yanlincs.com";
}];
};
};
# WebDAV file server
# files = {
# rule = "Host(`files.yanlincs.com`)";
@ -219,6 +232,15 @@
};
};
# MicroBin backend (via WireGuard)
bin = {
loadBalancer = {
servers = [{
url = "http://10.2.2.20:5010";
}];
};
};
# WebDAV file server backend (via WireGuard)
# files = {
# loadBalancer = {