diff --git a/snippets/robots-allow-all.conf b/snippets/robots-allow-all.conf index bff79a7517bd02812e713ad8c0c2b6eb9c7a2072..627aee5db300861870c3dc70c82016a4abd676c2 100644 --- a/snippets/robots-allow-all.conf +++ b/snippets/robots-allow-all.conf @@ -1,4 +1,4 @@ location = /robots.txt { - add_header Content-Type text/plain; + add_header Content-Type "text/plain; charset=utf-8"; return 200 "User-agent: *\nDisallow:\n"; } diff --git a/snippets/robots-disallow-all.conf b/snippets/robots-disallow-all.conf index d5c02655ab880ac7873d74d597025e238c07d822..03d50312dfd4108ef9758ff8d65f4d090d0a4c1c 100644 --- a/snippets/robots-disallow-all.conf +++ b/snippets/robots-disallow-all.conf @@ -1,4 +1,4 @@ location = /robots.txt { - add_header Content-Type text/plain; + add_header Content-Type "text/plain; charset=utf-8"; return 200 "User-agent: *\nDisallow: *\n"; }