userdir: add robots.txt

This commit is contained in:
Jonas Gaffke 2023-12-15 15:48:40 +01:00 committed by quitte
parent 9607dd1b54
commit 956908e981

View file

@ -72,5 +72,13 @@ in
client_max_body_size 40M;
'';
};
locations."/robots.txt" = {
extraConfig = ''
add_header Content-Type text/plain;
return 200 "User-agent: *\nDisallow: /\n";
'';
};
};
}