mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-24 02:59:16 +08:00
fix: 解决 upstream 配置报错的问题 (#4438)
Refs https://github.com/1Panel-dev/1Panel/issues/4258
This commit is contained in:
parent
672ef66be8
commit
0b47d692b8
@ -61,7 +61,7 @@ func NewParserFromLexer(lexer *lexer) *Parser {
|
||||
|
||||
parser.directiveWrappers = map[string]func(*components.Directive) components.IDirective{
|
||||
"server": func(directive *components.Directive) components.IDirective {
|
||||
return parser.wrapServer(directive)
|
||||
return parser.parseUpstreamServer(directive)
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user