site and .onion tweaks

This commit is contained in:
root 2025-11-04 19:28:28 +00:00
parent 8a5781e2ba
commit 8e5f6991f9
6 changed files with 10 additions and 4 deletions

View file

@ -1,10 +1,11 @@
let
onionUrl = "http://nzmkihvxjazbb3fgu7drbklpt6ibg4suff4glxpadhrd4pf5wd2od5yd.onion";
onionUrl = "http://distrustdtp5qgbk2firlzfkkmu5p6v6acuh2ox454zd2i3ujdqad5yd.onion";
in {
services.caddy.virtualHosts = {
"https://distrust.network ${onionUrl}".extraConfig = ''
root * /etc/nixos/site
file_server
header Onion-Location ${onionUrl}
'';
};