From 969ff2755527feef08c18cc9738f7c80086d7728 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Sun, 2 Feb 2025 19:57:54 +0100 Subject: [PATCH] sharepic: limit to university nets --- modules/web/sharepic.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/web/sharepic.nix b/modules/web/sharepic.nix index 0c5a51b..febd677 100644 --- a/modules/web/sharepic.nix +++ b/modules/web/sharepic.nix @@ -36,6 +36,9 @@ in root = "/srv/web/sharepic"; extraConfig = '' index index.php index.html; + allow 141.30.0.0/16; + allow 141.76.0.0/16; + deny all; ''; locations = {