mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
14 lines
595 B
Go
14 lines
595 B
Go
package settings
|
|
|
|
type Nginx struct {
|
|
AccessLogPath string `json:"access_log_path" protected:"true"`
|
|
ErrorLogPath string `json:"error_log_path" protected:"true"`
|
|
LogDirWhiteList []string `json:"log_dir_white_list" protected:"true"`
|
|
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{}
|