MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / Location

Struct Location

agent/utils/nginx/components/location.go:11–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type Location struct {
12 Modifier string
13 Match string
14 Cache bool
15 ProxyPass string
16 Host string
17 CacheTime int
18 CacheUint string
19 Comment string
20 Directives []IDirective
21 Line int
22 Parameters []string
23 Replaces map[string]string
24 ServerCacheTime int
25 ServerCacheUint string
26 Cors bool
27 AllowMethods string
28 AllowHeaders string
29 AllowOrigins string
30 AllowCredentials bool
31 Preflight bool
32}
33
34func (l *Location) GetCodeBlock() string {
35 return ""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected