-
Notifications
You must be signed in to change notification settings - Fork 49
/
config.php.sample
29 lines (20 loc) · 807 Bytes
/
config.php.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
// Debug
$app['debug'] = false;
// HTTP Cache
$app['http_cache'] = true;
// Buzz client, null uses Buzz\Client\FileGetContents
$app['buzz.client'] = null; // new Buzz\Client\Curl();
// Log level
$app['monolog.level'] = Monolog\Logger::ERROR;
// Redis for statistics and rate limiting
$app['redis.config'] = false; // ['host' => 'localhost', 'port' => 6379];
// Statistics
$app['stats.config'] = ['enabled' => false];
// Rate limiting
$app['rate_limiting.config'] = ['enabled' => false, 'limit' => 3];
// Trusted proxies, needed for rate limiting behing a reverse proxy, e.g. $app['proxy'] = ['127.0.0.1'];
$app['proxy'] = false;
// Address of the proxy server (e.g. 192.168.0.1:8080) to use when connecting
// to the SBB server (if any). Default is null.
$app['proxy_server.address'] = null;