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