1
0

nginx.go 635 B

1234567891011121314151617
  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. PIDPath string `json:"pid_path" protected:"true"`
  8. TestConfigCmd string `json:"test_config_cmd" protected:"true"`
  9. ReloadCmd string `json:"reload_cmd" protected:"true"`
  10. RestartCmd string `json:"restart_cmd" protected:"true"`
  11. }
  12. var NginxSettings = Nginx{
  13. AccessLogPath: "",
  14. ErrorLogPath: "",
  15. }