git robots.txt
This commit is contained in:
@@ -132,7 +132,15 @@
|
|||||||
"git.${hyper.domain}" = vh // {
|
"git.${hyper.domain}" = vh // {
|
||||||
http2 = false;
|
http2 = false;
|
||||||
listen = dl;
|
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 // {
|
"doc.${hyper.domain}" = vh // {
|
||||||
listen = dl;
|
listen = dl;
|
||||||
|
|||||||
Reference in New Issue
Block a user