|
|
@@ -53,6 +53,7 @@ test -f price/sitemap.xml
|
|
|
location = /llms.txt {
|
|
|
try_files $uri =404;
|
|
|
default_type text/plain;
|
|
|
+ charset utf-8;
|
|
|
}
|
|
|
|
|
|
location = /robots.txt {
|
|
|
@@ -96,7 +97,8 @@ curl -fsSI https://price.kailin.com.cn/sitemap.xml
|
|
|
|
|
|
预期:
|
|
|
|
|
|
-- `/llms.txt` 与 `/robots.txt` 返回 `200` 和 `text/plain`
|
|
|
+- `/llms.txt` 返回 `200` 和 `text/plain; charset=utf-8`
|
|
|
+- `/robots.txt` 返回 `200` 和 `text/plain`
|
|
|
- `/sitemap.xml` 返回 `200` 和 XML 内容类型
|
|
|
- 三个响应的正文都不是首页 HTML
|
|
|
- 任意不存在的路径返回 `404`
|