参数
请参阅 插件通用配置 了解所有插件可用的配置选项。
bypass_missing
boolean
default:
false如果为 true,则在缺少
User-Agent请求头时绕过 User-Agent 限制检查。allowlist
array[string]
允许的 User-Agent 列表。支持正则表达式。
allowlist和denylist必须至少配置其中之一,但不能同时配置。denylist
array[string]
拒绝的 User-Agent 列表。支持正则表达式。
allowlist和denylist必须至少配置其中之一,但不能同时配置。message
string
default:
Not allowed当 User-Agent 被拒绝访问时返回的消息。