Documentation ¶
Index ¶
- Constants
- Variables
- func GetConf() string
- func GetFullDirStructure(isNormalize bool, currentNginxRoot string) *knowndirstructure.NginxApacheDirectory
- func GetMimeTypes() string
- func GetModulesAvailable() string
- func GetModulesEnabled() string
- func GetNormalizeFullDirStructure(currentNginxRoot string) *knowndirstructure.NginxApacheDirectory
- func GetSitesAvailable() string
- func GetSitesEnabled() string
Constants ¶
View Source
const ( DefaultRoot = "/etc/nginx" RootConfigName = "nginx.conf" ConfigAvailableName = "config-available" ConfigEnabledName = "config-enabled" SitesBackup = "sites-backup" SitesAvailableName = "sites-available" SitesEnabledName = "sites-enabled" ExtraConfName = "conf.d" ModulesAvailableName = "modules-available" ModulesEnabledName = "modules-enabled" )
Variables ¶
View Source
var ( DefaultDirStructure = GetFullDirStructure( true, DefaultRoot) )
Functions ¶
func GetFullDirStructure ¶ added in v0.1.2
func GetFullDirStructure( isNormalize bool, currentNginxRoot string, ) *knowndirstructure.NginxApacheDirectory
func GetModulesAvailable ¶
func GetModulesAvailable() string
returns /etc/nginx/modules-available as a string
func GetModulesEnabled ¶
func GetModulesEnabled() string
returns /etc/nginx/modules-enabled as a string
func GetNormalizeFullDirStructure ¶ added in v0.1.2
func GetNormalizeFullDirStructure( currentNginxRoot string, ) *knowndirstructure.NginxApacheDirectory
func GetSitesAvailable ¶
func GetSitesAvailable() string
GetSitesAvailable returns /etc/nginx/sites-available as a string
func GetSitesEnabled ¶
func GetSitesEnabled() string
GetSitesEnabled returns /etc/nginx/sites-enabled as a string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.