1
0

nginx.go 659 B

123456789101112131415
  1. package settings
  2. type Nginx struct {
  3. AccessLogPath string `json:"access_log_path" protected:"true"`
  4. ErrorLogPath string `json:"error_log_path" protected:"true"`
  5. LogDirWhiteList []string `json:"log_dir_white_list" protected:"true"`
  6. ConfigDir string `json:"config_dir" protected:"true"`
  7. ConfigPath string `json:"config_path" protected:"true"`
  8. PIDPath string `json:"pid_path" protected:"true"`
  9. TestConfigCmd string `json:"test_config_cmd" protected:"true"`
  10. ReloadCmd string `json:"reload_cmd" protected:"true"`
  11. RestartCmd string `json:"restart_cmd" protected:"true"`
  12. }
  13. var NginxSettings = &Nginx{}