diff --git a/users/sterni/machines/ingeborg/http/sterni.lv.nix b/users/sterni/machines/ingeborg/http/sterni.lv.nix index cba56ce4f..d71ced6df 100644 --- a/users/sterni/machines/ingeborg/http/sterni.lv.nix +++ b/users/sterni/machines/ingeborg/http/sterni.lv.nix @@ -28,6 +28,12 @@ in }; # TODO(sterni): tmp.sterni.lv locations."/tmp/".root = toString /srv/http; + extraConfig = '' + location = /robots.txt { + add_header Content-Type text/plain; + return 200 "User-agent: *\nDisallow: /tmp\n"; + } + ''; }; }; }