aboutsummaryrefslogtreecommitdiff
path: root/web.nix
diff options
context:
space:
mode:
authorAlexander Kassouni <alex@kassouni.net>2026-09-27 18:54:09 -0700
committerAlexander Kassouni <alex@kassouni.net>2026-09-27 18:54:09 -0700
commit84900c2ccec76fac6f7d8e0cec08dcccb7965314 (patch)
treee2af2f4f414109789d228f352776bedeb0b239e1 /web.nix
parent07fa190fbd934155423a86a7ba51c7f121b837ec (diff)
flakes, web configs
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;
+ };
+}