Files
MrleeAdmin/backend/config/plugin/webman/rate-limiter/app.php
T
2026-08-31 11:33:59 +08:00

14 lines
282 B
PHP

<?php
return [
'enable' => true,
'driver' => 'auto', // auto, apcu, memory, redis
'stores' => [
'redis' => [
'connection' => 'default',
]
],
// 这些ip的请求不做频率限制
'ip_whitelist' => [
'127.0.0.1',
],
];