.onion for lldap
This commit is contained in:
parent
b553f45f47
commit
36fa7a75a3
1 changed files with 9 additions and 1 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
let
|
||||||
|
onionUrl = "http://i3a47orggn2cebueja2jur66yjgyqd2y7kzthajar4ghuerbx2kzwqyd.onion";
|
||||||
|
in
|
||||||
{
|
{
|
||||||
services.lldap = {
|
services.lldap = {
|
||||||
enable = true;
|
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
|
reverse_proxy localhost:17170
|
||||||
|
header Onion-Location ${onionUrl}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
services.tor.relay.onionServices."lldap".map = [
|
||||||
|
80
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue