feat: 添加 robots.txt(屏蔽爬虫索引 API/支付)
This commit is contained in:
11
static/robots.txt
Normal file
11
static/robots.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
User-agent: *
|
||||
Disallow: /payment
|
||||
Disallow: /api
|
||||
Disallow: /weather
|
||||
Disallow: /static
|
||||
|
||||
# Allow root (status page)
|
||||
Allow: /$
|
||||
|
||||
# Allow health check
|
||||
Allow: /health$
|
||||
Reference in New Issue
Block a user