1
0
Fork 0

bekkalokk/idp: Disallow bots

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

View File

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