[GH-ISSUE #796] 预设的反向代理配置,添加后报错 #1767

Closed
opened 2026-02-27 12:13:14 +03:00 by kerem · 0 comments
Owner

Originally created by @hkfires on GitHub (Dec 28, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/796

如题,经查看配置,是因为在map $http_upgrade $connection_upgrade之前加了个undefined所致,变成了
'''
undefined map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
'''
导致检查配置文件出错

Originally created by @hkfires on GitHub (Dec 28, 2024). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/796 如题,经查看配置,是因为在map $http_upgrade $connection_upgrade之前加了个undefined所致,变成了 ''' undefined map $http_upgrade $connection_upgrade { default upgrade; '' close; } ''' 导致检查配置文件出错
kerem 2026-02-27 12:13:14 +03:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#1767
No description provided.