diff --git a/roles/gitea/templates/app.ini b/roles/gitea/templates/app.ini index 74b392b..65e2132 100644 --- a/roles/gitea/templates/app.ini +++ b/roles/gitea/templates/app.ini @@ -660,7 +660,7 @@ INTERVAL = 60 ; For "redis" and "memcache", connection host address ; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180 ; memcache: `127.0.0.1:11211` -HOST = network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180 +HOST = network=tcp,addr=:6379,db=0,pool_size=100,idle_timeout=180 ; Time to keep items in cache if not used, default is 16 hours. ; Setting it to 0 disables caching ITEM_TTL = 16h @@ -683,7 +683,7 @@ PROVIDER = redis ; file: session file path, e.g. `data/sessions` ; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180 ; mysql: go-sql-driver/mysql dsn config string, e.g. `root:password@/session_table` -PROVIDER_CONFIG = data/sessions +PROVIDER_CONFIG = network=tcp,addr=:6379,db=0,pool_size=100,idle_timeout=180 ; Session cookie name COOKIE_NAME = i_like_gitea ; If you use session in https only, default is false