14 lines
282 B
PHP
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',
|
|
],
|
|
]; |