diff options
Diffstat (limited to 'nix/web.nix')
| -rw-r--r-- | nix/web.nix | 8 |
1 files changed, 8 insertions, 0 deletions
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; + }; +} |