From 2e4f7d98c48aa211d8509da50d1995d0d2a4ab7e Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Sun, 10 Dec 2023 20:50:40 +0100 Subject: [PATCH] feat(outline): Disallow indexing of ds docs --- machines/compute01/outline.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/machines/compute01/outline.nix b/machines/compute01/outline.nix index a1c7117..7ef7daf 100644 --- a/machines/compute01/outline.nix +++ b/machines/compute01/outline.nix @@ -45,6 +45,10 @@ in { proxyPass = "http://localhost:3003"; proxyWebsockets = true; }; + + locations."/robots.txt" = { + return = ''200 "User-agent: *\nDisallow: /s/demarches-normaliennes/\n"''; + }; }; dgn-secrets.matches."^outline-.*$" = { owner = "outline"; };