bekkalokk/idp: Disallow bots

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

View File

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