.onion for lldap

This commit is contained in:
root 2025-11-04 22:25:27 +00:00
parent b553f45f47
commit 36fa7a75a3

View file

@ -1,3 +1,6 @@
let
onionUrl = "http://i3a47orggn2cebueja2jur66yjgyqd2y7kzthajar4ghuerbx2kzwqyd.onion";
in
{
services.lldap = {
enable = true;
@ -10,7 +13,12 @@
};
};
services.caddy.virtualHosts."login.distrust.network".extraConfig = ''
services.caddy.virtualHosts."https://login.distrust.network ${onionUrl}".extraConfig = ''
reverse_proxy localhost:17170
header Onion-Location ${onionUrl}
'';
services.tor.relay.onionServices."lldap".map = [
80
];
}