nginx.go 552 B

12345678910111213141516
  1. package settings
  2. type Nginx struct {
  3. AccessLogPath string `json:"access_log_path" binding:"omitempty,file"`
  4. ErrorLogPath string `json:"error_log_path" binding:"omitempty,file"`
  5. ConfigDir string `json:"config_dir" protected:"true"`
  6. PIDPath string `json:"pid_path" protected:"true"`
  7. TestConfigCmd string `json:"test_config_cmd" protected:"true"`
  8. ReloadCmd string `json:"reload_cmd" protected:"true"`
  9. RestartCmd string `json:"restart_cmd" protected:"true"`
  10. }
  11. var NginxSettings = Nginx{
  12. AccessLogPath: "",
  13. ErrorLogPath: "",
  14. }