From e037e164c5c45ff33525d0c8575e8d9e0315ac7b Mon Sep 17 00:00:00 2001 From: Alexander Kassouni Date: Sun, 27 Sep 2026 22:07:56 -0700 Subject: move nix modules --- nix/web.nix | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 nix/web.nix (limited to 'nix/web.nix') diff --git a/nix/web.nix b/nix/web.nix new file mode 100644 index 0000000..b34f8d8 --- /dev/null +++ b/nix/web.nix @@ -0,0 +1,8 @@ +{...}: { + # dont serve git.kassouni.net traffic to other subdomains + services.nginx.virtualHosts."_" = { + default = true; + rejectSSL = true; + locations."/".return = 444; + }; +} -- cgit v1.3.1