bekkalokk/idp: Disallow bots
This commit is contained in:
parent
9505223dc9
commit
4c4f6991af
|
@ -202,6 +202,12 @@ in
|
|||
rewrite ^/simplesaml/(.*)$ /$1 redirect;
|
||||
return 404;
|
||||
'';
|
||||
"/robots.txt" = {
|
||||
alias = pkgs.writeText "robots.txt" ''
|
||||
User-agent: *
|
||||
Disallow: /
|
||||
'';
|
||||
}
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue