Fix lint code errors
This commit is contained in:
parent
b308be5333
commit
835aea4bab
3 changed files with 9 additions and 9 deletions
|
|
@ -302,8 +302,8 @@ type Configuration struct {
|
|||
|
||||
// NewDefault returns the default nginx configuration
|
||||
func NewDefault() Configuration {
|
||||
defIPCIDR := make([]string, 0)
|
||||
defIPCIDR = append(defIPCIDR, "0.0.0.0/0")
|
||||
defIPCIDR := make([]string, 0)
|
||||
defIPCIDR = append(defIPCIDR, "0.0.0.0/0")
|
||||
cfg := Configuration{
|
||||
AllowBackendServerHeader: false,
|
||||
ClientHeaderBufferSize: "1k",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue