mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-04-03 12:51:23 +02:00
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
Block a user