nginx

package
v0.0.0-beta6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

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)
)

Functions

func ConfBindMap

func ConfBindMap(optNginxConf OptNginxConf, optConfDDefaultConf OptConfDDefaultConf) map[string]any

Types

type OptConfDDefaultConf

type OptConfDDefaultConf struct{}

type OptNginxConf

type OptNginxConf struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL