bekkalokk/idp: Disallow bots
This commit is contained in:
parent
9505223dc9
commit
3a0b8e270d
|
@ -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