Documentation ¶
Overview ¶
nginx package tracks configurations allowed and enabled
Index ¶
Constants ¶
View Source
const (
DefaultLabel = "nginx"
)
Variables ¶
This section is empty.
Functions ¶
func NewWithConfig ¶
Types ¶
type Config ¶
type Config struct { Label_ string `hcl:"label,label" json:"label,omitempty"` // Label for the configuration Path string `hcl:"conf_path" json:"conf_path"` // Root path for the configuration PidPath string `hcl:"pid_path,optional" json:"pid_path"` // Path to the PID file Available string `hcl:"available_path,optional" json:"available_path"` // Path to available sites, under root Recursive bool `hcl:"available_recursive,optional" json:"recursive"` // Recursively search in available folder Enabled string `hcl:"enabled_path,optional" json:"enabled_path"` // Path to enabled sites, under root }
Click to show internal directories.
Click to hide internal directories.