diff options
| Commit | 39ddfa4099d4e1dc00c546a3b967eb48ae0ea9f3 (patch) | |
|---|---|---|
| Author | 2025-07-02 16:20:59 +0300 | |
| Committer | 2025-07-02 16:20:59 +0300 | |
| Files | cd8239483ec18c95577893e4e9537c1e649471dc | |
| nix-39ddfa4099d4e1dc00c546a3b967eb48ae0ea9f3.tar nix-39ddfa4099d4e1dc00c546a3b967eb48ae0ea9f3.tar.gz nix-39ddfa4099d4e1dc00c546a3b967eb48ae0ea9f3.zip | ||
| Parent | e03834eff4b022b8920a8d67e554ecd9045f4938 (diff) | |
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...
1 files changed, 8 insertions, 1 deletions
| -rw-r--r-- | machines/marduk/configuration.nix | 9 |
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"; |
