diff options
Diffstat (limited to 'data/kanboard/config.php')
| -rw-r--r-- | data/kanboard/config.php | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/data/kanboard/config.php b/data/kanboard/config.php new file mode 100644 index 0000000..b8a8d69 --- /dev/null +++ b/data/kanboard/config.php | |||
| @@ -0,0 +1,59 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | // Data folder (must be writeable by the web server user and absolute) | ||
| 4 | define('DATA_DIR', '/var/www/app/data'); | ||
| 5 | |||
| 6 | // Enable/Disable debug | ||
| 7 | define('DEBUG', false); | ||
| 8 | |||
| 9 | // Available log drivers: syslog, stderr, stdout, system or file | ||
| 10 | define('LOG_DRIVER', 'system'); | ||
| 11 | |||
| 12 | // Plugins directory | ||
| 13 | define('PLUGINS_DIR', __DIR__.DIRECTORY_SEPARATOR.'plugins'); | ||
| 14 | |||
| 15 | // Available cache drivers are "file" and "memory" | ||
| 16 | define('CACHE_DRIVER', 'memory'); | ||
| 17 | |||
| 18 | // Enable/disable the reverse proxy authentication | ||
| 19 | define('REVERSE_PROXY_AUTH', true); | ||
| 20 | |||
| 21 | // Header name to use for the username | ||
| 22 | define('REVERSE_PROXY_USER_HEADER', 'HTTP_REMOTE_USER'); | ||
| 23 | |||
| 24 | // Username of the admin, by default blank | ||
| 25 | define('REVERSE_PROXY_DEFAULT_ADMIN', 'samadmin'); | ||
| 26 | |||
| 27 | // Header name to use for the user email | ||
| 28 | define('REVERSE_PROXY_EMAIL_HEADER', 'HTTP_REMOTE_EMAIL'); | ||
| 29 | |||
| 30 | // Header name to use for the user full name | ||
| 31 | define('REVERSE_PROXY_FULLNAME_HEADER', 'HTTP_REMOTE_NAME'); | ||
| 32 | |||
| 33 | // Default domain to use for setting the email address | ||
| 34 | define('REVERSE_PROXY_DEFAULT_DOMAIN', 'chudnick.com'); | ||
| 35 | |||
| 36 | // Enable/disable remember me authentication | ||
| 37 | define('REMEMBER_ME_AUTH', true); | ||
| 38 | |||
| 39 | // Hide login form, useful if all your users use Google/Github/ReverseProxy authentication | ||
| 40 | define('HIDE_LOGIN_FORM', true); | ||
| 41 | |||
| 42 | // Disabling logout (useful for external SSO authentication) | ||
| 43 | define('DISABLE_LOGOUT', true); | ||
| 44 | |||
| 45 | // Enable captcha after 3 authentication failure | ||
| 46 | define('BRUTEFORCE_CAPTCHA', 3); | ||
| 47 | |||
| 48 | // Lock the account after 6 authentication failure | ||
| 49 | define('BRUTEFORCE_LOCKDOWN', 6); | ||
| 50 | |||
| 51 | // Lock account duration in minute | ||
| 52 | define('BRUTEFORCE_LOCKDOWN_DURATION', 15); | ||
| 53 | |||
| 54 | // Session duration in second (0 = until the browser is closed) | ||
| 55 | // See http://php.net/manual/en/session.configuration.php#ini.session.cookie-lifetime | ||
| 56 | define('SESSION_DURATION', 0); | ||
| 57 | |||
| 58 | // Session handler: db or php | ||
| 59 | define('SESSION_HANDLER', 'db'); | ||
