bekkalokk/idp: Disallow bots
This commit is contained in:
parent
9505223dc9
commit
f5e1ec075f
|
@ -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: /
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue