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

Method UpdateRoot

agent/utils/nginx/components/server.go:289–291  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

287}
288
289func (s *Server) UpdateRoot(path string) {
290 s.UpdateDirective("root", []string{path})
291}
292
293func (s *Server) UpdateRootProxyForAi(proxy []string) {
294 newDir := Directive{

Callers 2

configDefaultNginxFunction · 0.80
opWebsiteFunction · 0.80

Calls 1

UpdateDirectiveMethod · 0.95

Tested by

no test coverage detected