Add ump load balancing and naxsi as WAF. Update nginx to 1.9.13
This commit is contained in:
parent
a06f0a707e
commit
c9f8a06399
9 changed files with 105 additions and 15 deletions
|
|
@ -21,6 +21,7 @@ type IngressConfig struct {
|
|||
Upstreams []*Upstream
|
||||
Servers []*Server
|
||||
TCPUpstreams []*Location
|
||||
UDPUpstreams []*Location
|
||||
}
|
||||
|
||||
// Upstream describes an NGINX upstream
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ func (ngx *Manager) writeCfg(cfg nginxConfiguration, ingressCfg IngressConfig) (
|
|||
conf["upstreams"] = ingressCfg.Upstreams
|
||||
conf["servers"] = ingressCfg.Servers
|
||||
conf["tcpUpstreams"] = ingressCfg.TCPUpstreams
|
||||
conf["udpUpstreams"] = ingressCfg.UDPUpstreams
|
||||
conf["defResolver"] = ngx.defResolver
|
||||
conf["sslDHParam"] = ngx.sslDHParam
|
||||
conf["cfg"] = fixKeyNames(curNginxCfg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue