From 39ddfa4099d4e1dc00c546a3b967eb48ae0ea9f3 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 2 Jul 2025 16:20:59 +0300 Subject: feat(machines/marduk): Replace wildcard .int DNS record with specifics and add server.int vhost Who would've thought having a *.int DNS record is a bad idea... --- machines/marduk/configuration.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/machines/marduk/configuration.nix b/machines/marduk/configuration.nix index c730e0e..0b95063 100644 --- a/machines/marduk/configuration.nix +++ b/machines/marduk/configuration.nix @@ -1,10 +1,17 @@ { pkgs, ... }: { services.dnsmasq.settings.address = [ - "/.int/192.168.0.10" + "/server.int/ftp.int/192.168.0.10" ]; services.httpd = { virtualHosts = { + "server.int" = { + listen = [ { port = 80; } ]; + documentRoot = "/var/www/default"; # Temporary + locations."/server-status".extraConfig = '' + SetHandler server-status + ''; + }; "ftp.int" = { listen = [ { port = 80; } ]; documentRoot = "/home/ftp"; -- cgit v1.3.1-23-gd82d