Maybe finally fix passwordless redis
This commit is contained in:
parent
d4e4c53b00
commit
798cb2e57d
@ -660,7 +660,7 @@ INTERVAL = 60
|
|||||||
; For "redis" and "memcache", connection host address
|
; For "redis" and "memcache", connection host address
|
||||||
; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180
|
; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180
|
||||||
; memcache: `127.0.0.1:11211`
|
; 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.
|
; Time to keep items in cache if not used, default is 16 hours.
|
||||||
; Setting it to 0 disables caching
|
; Setting it to 0 disables caching
|
||||||
ITEM_TTL = 16h
|
ITEM_TTL = 16h
|
||||||
@ -683,7 +683,7 @@ PROVIDER = redis
|
|||||||
; file: session file path, e.g. `data/sessions`
|
; file: session file path, e.g. `data/sessions`
|
||||||
; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180
|
; 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`
|
; 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
|
; Session cookie name
|
||||||
COOKIE_NAME = i_like_gitea
|
COOKIE_NAME = i_like_gitea
|
||||||
; If you use session in https only, default is false
|
; If you use session in https only, default is false
|
||||||
|
Loading…
Reference in New Issue
Block a user