From 4c5255f5ad587b13644c6a38e9d9ef3c0ef9852f Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 14 Feb 2017 03:52:20 -0500 Subject: cookie: enhance cookie security (#3525) --- conf/app.ini | 1 + 1 file changed, 1 insertion(+) (limited to 'conf') 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 -- cgit v1.2.3