globalServerConfig

package
v1.3.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IndexAction

type IndexAction struct {
	actionutils.ParentAction
}

func (*IndexAction) Init

func (this *IndexAction) Init()

func (*IndexAction) RunGet

func (this *IndexAction) RunGet(params struct {
	ClusterId int64
})

func (*IndexAction) RunPost

func (this *IndexAction) RunPost(params struct {
	ClusterId int64

	HttpAllMatchDomainStrictly             bool
	HttpAllDomainMismatchActionCode        string
	HttpAllDomainMismatchActionContentHTML string
	HttpAllDomainMismatchActionStatusCode  string
	HttpAllDomainMismatchActionRedirectURL string
	HttpAllAllowMismatchDomainsJSON        []byte
	HttpAllAllowNodeIP                     bool
	HttpAllDefaultDomain                   string
	HttpAllNodeIPPageHTML                  string
	HttpAllNodeIPShowPage                  bool
	HttpAllEnableServerAddrVariable        bool
	HttpAllRequestOriginsWithEncodings     bool

	HttpAllDomainAuditingIsOn   bool
	HttpAllDomainAuditingPrompt string

	HttpAllServerName                string
	HttpAllSupportsLowVersionHTTP    bool
	HttpAllMatchCertFromAllServers   bool
	HttpAllForceLnRequest            bool
	HttpAllLnRequestSchedulingMethod string

	HttpAccessLogIsOn                     bool
	HttpAccessLogEnableRequestHeaders     bool
	HttpAccessLogEnableResponseHeaders    bool
	HttpAccessLogCommonRequestHeadersOnly bool
	HttpAccessLogEnableCookies            bool
	HttpAccessLogEnableServerNotFound     bool

	LogRecordServerError bool

	PerformanceAutoReadTimeout  bool
	PerformanceAutoWriteTimeout bool
	PerformanceDebug            bool

	// TCP端口设置
	TcpAllPortRangeMin int
	TcpAllPortRangeMax int
	TcpAllDenyPorts    []int

	Must *actions.Must
	CSRF *actionutils.CSRF
})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL