diff options
author | Unknwon <u@gogs.io> | 2017-02-14 03:52:20 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-02-14 03:52:20 -0500 |
commit | 4c5255f5ad587b13644c6a38e9d9ef3c0ef9852f (patch) | |
tree | a41ce413b1d550a7003a362004655d2b2fea4c8e /conf | |
parent | 279e475b893e187a5b5813646db2a20b5cad2a8b (diff) |
cookie: enhance cookie security (#3525)
Diffstat (limited to 'conf')
-rw-r--r-- | conf/app.ini | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini index a34466d1..cf3bcb83 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -154,6 +154,7 @@ SECRET_KEY = !#@FDEWREWR&*( LOGIN_REMEMBER_DAYS = 7 COOKIE_USERNAME = gogs_awesome COOKIE_REMEMBER_NAME = gogs_incredible +COOKIE_SECURE = false ; Reverse proxy authentication header name of user name REVERSE_PROXY_AUTHENTICATION_USER = X-WEBAUTH-USER |