aboutsummaryrefslogtreecommitdiff
path: root/nixos/hosts/tente/default.nix
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-09-18 06:00:38 +0200
committerMartin Fischer <martin@push-f.com>2025-09-20 14:40:47 +0200
commit21fdce7d65f46c9935f0bf1b9475c8bcd28abf47 (patch)
tree8dd216ddf95eac6b7e780bcce0ddf5e7ae06267b /nixos/hosts/tente/default.nix
parent70b3abe0d6a5e7cf46a8109dce05edcaca892f79 (diff)
feat: generate web index for private web UIs
Diffstat (limited to 'nixos/hosts/tente/default.nix')
-rw-r--r--nixos/hosts/tente/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/hosts/tente/default.nix b/nixos/hosts/tente/default.nix
index 4d4a4f3..a54de6c 100644
--- a/nixos/hosts/tente/default.nix
+++ b/nixos/hosts/tente/default.nix
@@ -203,6 +203,8 @@ in
enable = true;
group = "www-data";
+ virtualHosts."tente.tailnet" = helpers.serviceIndexHost "tente.tailnet" ports.webUis;
+
appendHttpConfig = ''
# Close the connection for unknown Host headers.
# If we don't do this nginx serves some random virtualhost.