Documentation
¶
Index ¶
Constants ¶
View Source
const ( NameNginxConf = "nginx.conf" NameConfDDefaultConf = "conf.d/default.conf" )
View Source
const ( DistNginxConf = "/etc/nginx/nginx.conf" DistConfDDefaultConf = "/etc/nginx/conf.d/default.conf" )
Variables ¶
View Source
var ( ConfBindNginxConf = appconf.NewConfBind(&fs, NameNginxConf, DistNginxConf, perm) ConfBindConfDDefaultConf = appconf.NewConfBind(&fs, NameConfDDefaultConf, DistConfDDefaultConf, perm) )
View Source
var ConfBinds = []*appconf.ConfBind{ ConfBindNginxConf, ConfBindConfDDefaultConf, }
Functions ¶
func ConfBindMap ¶
func ConfBindMap(optNginxConf OptNginxConf, optConfDDefaultConf OptConfDDefaultConf) map[string]any
Types ¶
type OptConfDDefaultConf ¶
type OptConfDDefaultConf struct{}
type OptNginxConf ¶
type OptNginxConf struct{}
Click to show internal directories.
Click to hide internal directories.