You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
552 B
Go
17 lines
552 B
Go
package settings
|
|
|
|
type Nginx struct {
|
|
AccessLogPath string `json:"access_log_path" binding:"omitempty,file"`
|
|
ErrorLogPath string `json:"error_log_path" binding:"omitempty,file"`
|
|
ConfigDir string `json:"config_dir" protected:"true"`
|
|
PIDPath string `json:"pid_path" protected:"true"`
|
|
TestConfigCmd string `json:"test_config_cmd" protected:"true"`
|
|
ReloadCmd string `json:"reload_cmd" protected:"true"`
|
|
RestartCmd string `json:"restart_cmd" protected:"true"`
|
|
}
|
|
|
|
var NginxSettings = Nginx{
|
|
AccessLogPath: "",
|
|
ErrorLogPath: "",
|
|
}
|