Skip to content
This repository was archived by the owner on May 27, 2019. It is now read-only.

Commit e77deec

Browse files
authored
fix(nginx): allow setting ErrorLogLevel to 'debug'
1 parent 5a5a2d7 commit e77deec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

model/model.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type RouterConfig struct {
4545
GzipConfig *GzipConfig `key:"gzip"`
4646
BodySize string `key:"bodySize" constraint:"^[0-9]\\d*[kKmM]?$"`
4747
ProxyRealIPCIDRs []string `key:"proxyRealIpCidrs" constraint:"^((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\\/([0-9]|[1-2][0-9]|3[0-2]))?(\\s*,\\s*)?)+$"`
48-
ErrorLogLevel string `key:"errorLogLevel" constraint:"^(info|notice|warn|error|crit|alert|emerg)$"`
48+
ErrorLogLevel string `key:"errorLogLevel" constraint:"^(debug|info|notice|warn|error|crit|alert|emerg)$"`
4949
PlatformDomain string `key:"platformDomain" constraint:"(?i)^([a-z0-9]+(-[a-z0-9]+)*\\.)+[a-z0-9]+(-*[a-z0-9]+)+$"`
5050
UseProxyProtocol bool `key:"useProxyProtocol" constraint:"(?i)^(true|false)$"`
5151
EnforceWhitelists bool `key:"enforceWhitelists" constraint:"(?i)^(true|false)$"`

0 commit comments

Comments
 (0)