diff --git a/cmd/derper/derper.go b/cmd/derper/derper.go index c397d4ffa..653c6d9be 100644 --- a/cmd/derper/derper.go +++ b/cmd/derper/derper.go @@ -203,6 +203,9 @@ func main() { io.WriteString(w, "
Debug info at /debug/.
\n") } })) + mux.Handle("/robots.txt", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + io.WriteString(w, "User-agent: *\nDisallow: /\n") + })) debug := tsweb.Debugger(mux) debug.KV("TLS hostname", *hostname) debug.KV("Mesh key", s.HasMeshKey())