bekkalokk/idp: Disallow bots

This commit is contained in:
Daniel Lovbrotte Olsen 2024-09-02 22:52:19 +02:00
parent 9505223dc9
commit 9692dc0476
1 changed files with 6 additions and 0 deletions

View File

@ -202,6 +202,12 @@ in
rewrite ^/simplesaml/(.*)$ /$1 redirect;
return 404;
'';
"/robots.txt" = {
alias = pkgs.writeTextDir "robots.txt" ''
User-agent: *
Disallow: /
'';
};
};
};
};