nginx

package
v2.13.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 31, 2017 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reload

func Reload() error

Reload nginx configuration.

func Start

func Start() error

Start nginx.

func WriteCerts

func WriteCerts(routerConfig *model.RouterConfig, sslPath string) error

WriteCerts writes SSL certs to file from router configuration.

func WriteConfig

func WriteConfig(routerConfig *model.RouterConfig, filePath string) error

WriteConfig dynamically produces valid nginx configuration by combining a Router configuration object with a data-driven template.

func WriteDHParam

func WriteDHParam(routerConfig *model.RouterConfig, sslPath string) error

WriteDHParam writes router DHParam to file from router configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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