From b92935d2dc7e02b19f60fef37e6139197b054e30 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Wed, 13 Aug 2014 12:47:17 -0700 Subject: Add ReverseProxy authentication (pull-request #199) --- app/common.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/common.php') 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(); -- cgit v1.2.3