aboutsummaryrefslogtreecommitdiff
path: root/web.nix
diff options
context:
space:
mode:
Diffstat (limited to 'web.nix')
-rw-r--r--web.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/web.nix b/web.nix
new file mode 100644
index 0000000..b34f8d8
--- /dev/null
+++ b/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;
+ };
+}