config(edgeone): 添加重写规则配置

- 配置 .well-known 目录下 txt 文件的路径重写规则
- 将 /.well-known/*.txt 重定向到 /well-known/:splat.txt
- 解决 .well-known 目录文件访问问题
This commit is contained in:
hehh
2026-01-10 18:00:07 +08:00
parent dac607472f
commit d0091fc713
2 changed files with 8 additions and 0 deletions

8
edgeone.json Normal file
View File

@@ -0,0 +1,8 @@
{
"rewrites": [
{
"source": "/.well-known/*.txt",
"destination": "/well-known/:splat.txt"
}
]
}