mailman: add robots.txt

This commit is contained in:
Rouven Seifert 2024-03-06 20:49:02 +01:00
parent 71cb425527
commit c04e11a958
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -57,5 +57,11 @@
services.nginx.virtualHosts."lists.${config.networking.domain}" = {
enableACME = true;
forceSSL = true;
locations."/robots.txt" = {
extraConfig = ''
add_header Content-Type text/plain;
return 200 "User-agent: *\nDisallow: /\n";
'';
};
};
}