nginx

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const NginxConfPath = "/etc/nginx/nginx.conf"

NginxConfPath for nginx configuration location

Variables

This section is empty.

Functions

func GetConf

func GetConf(config *router.Config, cache *router.Cache) string

GetConf takes the router cache and returns a generated nginx configuration

func RestartServer

func RestartServer(config *router.Config, conf string, exitOnFailure bool)

RestartServer restarts nginx using the provided configuration.

func StartServer

func StartServer(config *router.Config, conf string)

StartServer starts nginx using the provided configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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