mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-03-06 13:43:57 +00:00
DnsWebService: added X-Robots-Tag http header to preventing search engines from indexing web portal.
This commit is contained in:
@@ -186,6 +186,7 @@ namespace DnsServerCore
|
||||
HttpListenerResponse response = parameters[1] as HttpListenerResponse;
|
||||
|
||||
response.AddHeader("Server", "");
|
||||
response.AddHeader("X-Robots-Tag", "noindex, nofollow");
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user