pad: wiki: add robots.txt
This commit is contained in:
parent
c04e11a958
commit
b9559cf5ce
2 changed files with 12 additions and 0 deletions
|
@ -74,6 +74,12 @@ in
|
|||
proxyPass = "http://[::1]:${toString config.services.hedgedoc.settings.port}";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
locations."/robots.txt" = {
|
||||
extraConfig = ''
|
||||
add_header Content-Type text/plain;
|
||||
return 200 "User-agent: *\nDisallow: /\n";
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue