config(edgeone): 添加重写规则配置
- 配置 .well-known 目录下 txt 文件的路径重写规则 - 将 /.well-known/*.txt 重定向到 /well-known/:splat.txt - 解决 .well-known 目录文件访问问题
This commit is contained in:
8
edgeone.json
Normal file
8
edgeone.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "/.well-known/*.txt",
|
||||
"destination": "/well-known/:splat.txt"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user