diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-08-13 12:47:17 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-08-13 12:47:17 -0700 |
commit | b92935d2dc7e02b19f60fef37e6139197b054e30 (patch) | |
tree | 2f664b619e75c0cf7ddf75088f9932b2a4614492 /app/common.php | |
parent | 66b5659578a9f982b03a85bce7985252119613c3 (diff) |
Add ReverseProxy authentication (pull-request #199)
Diffstat (limited to 'app/common.php')
-rw-r--r-- | app/common.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/common.php b/app/common.php index c33d5592..312b930b 100644 --- a/app/common.php +++ b/app/common.php @@ -58,6 +58,11 @@ defined('GITHUB_AUTH') or define('GITHUB_AUTH', false); defined('GITHUB_CLIENT_ID') or define('GITHUB_CLIENT_ID', ''); defined('GITHUB_CLIENT_SECRET') or define('GITHUB_CLIENT_SECRET', ''); +// Proxy authentication +defined('REVERSE_PROXY_AUTH') or define('REVERSE_PROXY_AUTH', false); +defined('REVERSE_PROXY_USER_HEADER') or define('REVERSE_PROXY_USER_HEADER', 'REMOTE_USER'); +defined('REVERSE_PROXY_DEFAULT_ADMIN') or define('REVERSE_PROXY_DEFAULT_ADMIN', ''); + $loader = new Loader; $loader->execute(); |