git robots.txt

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2025-06-22 14:52:15 +02:00
parent 7b9f009a27
commit 244e40a746

View File

@@ -132,7 +132,15 @@
"git.${hyper.domain}" = vh // {
http2 = false;
listen = dl;
locations = { "/" = { proxyPass = "http://127.0.0.1:3000"; }; };
locations = {
"/" = { proxyPass = "http://127.0.0.1:3000"; };
"/robots.txt" = {
extraConfig = ''
default_type text/plain;
return 200 "User-agent: *\nDisallow: /\nAllow: /explore/repos\nAllow: /nx2/dotdiles\nAllow: /nx2";
'';
};
};
};
"doc.${hyper.domain}" = vh // {
listen = dl;