Maybe finally fix passwordless redis

This commit is contained in:
Salt 2020-04-30 06:45:13 -05:00
parent d4e4c53b00
commit 798cb2e57d

View File

@ -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