feat: add Redis config for session + rbac module_cache
This commit is contained in:
parent
a70781b0d6
commit
c8e89d2d1e
@ -36,9 +36,15 @@
|
|||||||
[".wss", "ws"]
|
[".wss", "ws"]
|
||||||
],
|
],
|
||||||
"indexes": ["index.ui", "index.html"],
|
"indexes": ["index.ui", "index.html"],
|
||||||
|
"session_redis": {
|
||||||
|
"url": "redis://127.0.0.1:6379/0"
|
||||||
|
},
|
||||||
"statics": [
|
"statics": [
|
||||||
["/bricks/", "/d/pccs/wwwroot/bricks/"],
|
["/bricks/", "/d/pccs/wwwroot/bricks/"],
|
||||||
["/imgs/", "/d/pccs/wwwroot/imgs/"]
|
["/imgs/", "/d/pccs/wwwroot/imgs/"]
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"module_cache": {
|
||||||
|
"rbac": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user