mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2026-09-20 15:44:48 +00:00
Make it possible to actually use redis for caching through the config flags
This commit is contained in:
@@ -126,6 +126,13 @@ var (
|
||||
EnvVars: []string{"BLACKLISTED_PATHS"},
|
||||
},
|
||||
|
||||
&cli.StringFlag{
|
||||
Name: "redis-url",
|
||||
Value: "",
|
||||
Usage: "use redis instead of the built-in memory cache (recommended)",
|
||||
EnvVars: []string{"REDIS_URL"},
|
||||
},
|
||||
|
||||
&cli.StringFlag{
|
||||
Name: "log-level",
|
||||
Value: "warn",
|
||||
|
||||
Reference in New Issue
Block a user