mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-05-12 16:17:12 +02:00
Move redis config to CacheConfig struct, add cache prefixes & trace logging
This commit is contained in:
parent
e1a22d5f4c
commit
46c8daacba
7 changed files with 45 additions and 30 deletions
|
@ -6,7 +6,7 @@ type Config struct {
|
|||
Gitea GiteaConfig
|
||||
Database DatabaseConfig
|
||||
ACME ACMEConfig
|
||||
RedisURL string `default:""`
|
||||
Cache CacheConfig
|
||||
}
|
||||
|
||||
type ServerConfig struct {
|
||||
|
@ -46,3 +46,7 @@ type ACMEConfig struct {
|
|||
NoDNS01 bool `default:"false"`
|
||||
AccountConfigFile string `default:"acme-account.json"`
|
||||
}
|
||||
|
||||
type CacheConfig struct {
|
||||
RedisURL string `default:""`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue