userdir: add robots.txt
This commit is contained in:
parent
9607dd1b54
commit
956908e981
|
@ -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";
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue