Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyFile ¶
func CopyFile(source, dest string)
CopyFile copies a file from the source to the provided destination
func DownloadFile ¶
DownloadFile downloads a file and saves it to the given path
func GenerateDHParams ¶
func GenerateDHParams()
GenerateDHParams for NginX DHE key exchange (strength of 4096bit) using -dsaparam to disable prime number check => speedup (but not less secure!)
func RunAndPrintCommandOutput ¶
RunAndPrintCommandOutput calls the given command and prints the output - line by line - into the console
func SetupFileStructure ¶
func SetupFileStructure()
SetupFileStructure creates all required folder for NginX and moves the delivered nginx file structure to /etc/nginx
func SetupInitD ¶
func SetupInitD()
SetupInitD downloads the recommended LSB compliant init.d script for NginX
func SetupNginxUser ¶
func SetupNginxUser()
SetupNginxUser creates the nginx group and user and assigns ownership to nginx directories
Types ¶
type CTLogProvider ¶
CTLogProvider holds information about a CTLogProvider, currently active in Chrome