mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
fix: typo error
This commit is contained in:
parent
5f3aa5bffa
commit
b64f71e13a
1 changed files with 6 additions and 6 deletions
|
@ -1,13 +1,13 @@
|
|||
package settings
|
||||
|
||||
type Logrotate struct {
|
||||
Enabled bool `json:"enabled"`
|
||||
CMD string `json:"cmd" protect:"true"`
|
||||
Interval int `json:"interval"`
|
||||
Enabled bool `json:"enabled"`
|
||||
CMD string `json:"cmd" protected:"true"`
|
||||
Interval int `json:"interval"`
|
||||
}
|
||||
|
||||
var LogrotateSettings = Logrotate{
|
||||
Enabled: false,
|
||||
CMD: "logrotate /etc/logrotate.d/nginx",
|
||||
Interval: 1440, // 24 hours
|
||||
Enabled: false,
|
||||
CMD: "logrotate /etc/logrotate.d/nginx",
|
||||
Interval: 1440, // 24 hours
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue