Commit bbad7733 authored by nimrod's avatar nimrod
Browse files

UTF-8 for robots.txt.

parent 1923320c
Loading
Loading
Loading
Loading
+1 −1
Changes for snippets/robots-allow-all.conf: 1 added line, 1 removed line.
Original line number Diff line number Diff line
location = /robots.txt {
    add_header Content-Type text/plain;
    add_header Content-Type "text/plain; charset=utf-8";
    return 200 "User-agent: *\nDisallow:\n";
}
+1 −1
Changes for snippets/robots-disallow-all.conf: 1 added line, 1 removed line.
Original line number Diff line number Diff line
location = /robots.txt {
    add_header Content-Type text/plain;
    add_header Content-Type "text/plain; charset=utf-8";
    return 200 "User-agent: *\nDisallow: *\n";
}