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

Method UpdateDirective

agent/utils/nginx/components/statement.go:7–7  ·  view source on GitHub ↗
(name string, params []string)

Source from the content-addressed store, hash-verified

5 FindDirectives(directiveName string) []IDirective
6 RemoveDirective(name string, params []string)
7 UpdateDirective(name string, params []string)
8 GetComment() string
9 GetLine() int
10 GetCodeBlock() string

Callers 14

updateNginxConfigFunction · 0.95
UpdateLoadBalanceMethod · 0.65
applyLocationProxyPassFunction · 0.65
createProxyFileFunction · 0.65
configDefaultNginxFunction · 0.65
applySSLFunction · 0.65
opWebsiteFunction · 0.65
ChangeHSTSConfigFunction · 0.65
addProxyFunction · 0.65
addMCPProxyFunction · 0.65
handleSSLConfigFunction · 0.65
UpdatePathAuthBasicMethod · 0.65

Implementers 6

Serveragent/utils/nginx/components/server.go
Httpagent/utils/nginx/components/http.go
LuaBlockagent/utils/nginx/components/lua_block
Locationagent/utils/nginx/components/location.
Upstreamagent/utils/nginx/components/upstream.
Blockagent/utils/nginx/components/block.go

Calls

no outgoing calls

Tested by

no test coverage detected