MCPcopy Create free account
hub / github.com/ddev/ddev / GetWebserverType

Method GetWebserverType

pkg/ddevapp/ddevapp.go:698–704  ·  view source on GitHub ↗

GetWebserverType returns the app's webserver type (nginx-fpm/apache-fpm/generic)

()

Source from the content-addressed store, hash-verified

696
697// GetWebserverType returns the app's webserver type (nginx-fpm/apache-fpm/generic)
698func (app *DdevApp) GetWebserverType() string {
699 v := nodeps.WebserverDefault
700 if app.WebserverType != "" {
701 v = app.WebserverType
702 }
703 return v
704}
705
706// GetPrimaryRouterHTTPPort returns app's primary router http port
707// It has to choose from (highest to lowest priority):

Callers 6

TrackProjectMethod · 0.95
DescribeMethod · 0.95
TestDdevXdebugEnabledFunction · 0.80
TestPHPWebserverTypeFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestDdevXdebugEnabledFunction · 0.64
TestPHPWebserverTypeFunction · 0.64