diff --git a/modules/mailman.nix b/modules/mailman.nix index 90b2767..9b691f0 100644 --- a/modules/mailman.nix +++ b/modules/mailman.nix @@ -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"; + ''; + }; }; }