add plex to media server module

This commit is contained in:
Yan Lin 2025-12-04 00:29:37 +01:00
parent 2c28fa2719
commit 08b360a1d6
5 changed files with 53 additions and 0 deletions

View file

@ -90,6 +90,18 @@
};
};
# Plex Media Server
plex = {
rule = "Host(`plex.yanlincs.com`)";
service = "plex";
tls = {
certResolver = "cloudflare";
domains = [{
main = "*.yanlincs.com";
}];
};
};
};
services = {
@ -157,6 +169,15 @@
};
};
# Plex backend
plex = {
loadBalancer = {
servers = [{
url = "http://lan.hs.yanlincs.com:32400";
}];
};
};
};
};