summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/app.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 52f0c7ed5a..111261db98 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -51,6 +51,8 @@ SECRET_KEY = !#@FDEWREWR&*(
LOGIN_REMEMBER_DAYS = 7
COOKIE_USERNAME = gogs_awesome
COOKIE_REMEMBER_NAME = gogs_incredible
+; Reverse proxy authentication header name of user ID
+REVERSE_PROXY_AUTHENTICATION_UID = X-WEBAUTH-UID
[service]
ACTIVE_CODE_LIVE_MINUTES = 180
@@ -65,6 +67,8 @@ REQUIRE_SIGNIN_VIEW = false
ENABLE_CACHE_AVATAR = false
; Mail notification
ENABLE_NOTIFY_MAIL = false
+; More detail: https://github.com/gogits/gogs/issues/165
+ENABLE_REVERSE_PROXY_AUTHENTICATION = false
[webhook]
; Cron task interval in minutes