@@ -179,9 +179,11 @@ type StoreConfig struct {
179179
180180// ReverseProxyConfig contains reverse proxy settings
181181type ReverseProxyConfig struct {
182- TrustedHTTPProxies []string `yaml:"trustedHTTPProxies"`
183- TrustedHTTPProxiesCount uint `yaml:"trustedHTTPProxiesCount"`
184- TrustedPeers []string `yaml:"trustedPeers"`
182+ TrustedHTTPProxies []string `yaml:"trustedHTTPProxies"`
183+ TrustedHTTPProxiesCount uint `yaml:"trustedHTTPProxiesCount"`
184+ TrustedPeers []string `yaml:"trustedPeers"`
185+ AccessLogRetentionDays int `yaml:"accessLogRetentionDays"`
186+ AccessLogCleanupIntervalHours int `yaml:"accessLogCleanupIntervalHours"`
185187}
186188
187189// DefaultConfig returns a CombinedConfig with default values
@@ -645,7 +647,9 @@ func (c *CombinedConfig) ToManagementConfig() (*nbconfig.Config, error) {
645647
646648 // Build reverse proxy config
647649 reverseProxy := nbconfig.ReverseProxy {
648- TrustedHTTPProxiesCount : mgmt .ReverseProxy .TrustedHTTPProxiesCount ,
650+ TrustedHTTPProxiesCount : mgmt .ReverseProxy .TrustedHTTPProxiesCount ,
651+ AccessLogRetentionDays : mgmt .ReverseProxy .AccessLogRetentionDays ,
652+ AccessLogCleanupIntervalHours : mgmt .ReverseProxy .AccessLogCleanupIntervalHours ,
649653 }
650654 for _ , p := range mgmt .ReverseProxy .TrustedHTTPProxies {
651655 if prefix , err := netip .ParsePrefix (p ); err == nil {
0 commit comments