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

Closed
opened 2026-02-28 11:56:29 +03:00 by kerem · 4 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-28 11:56:29 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@0xJacky commented on GitHub (Jan 2, 2025):

我这边无法复现,可以提供一下复现步骤吗,比如截图,如果有视频会更好,感谢。

<!-- gh-comment-id:2567284595 --> @0xJacky commented on GitHub (Jan 2, 2025): 我这边无法复现,可以提供一下复现步骤吗,比如截图,如果有视频会更好,感谢。
Author
Owner

@hkfires commented on GitHub (Jan 2, 2025):

https://github.com/user-attachments/assets/695e857e-f297-4c9c-ad9e-43ba223c841c

我录了段短视频,复现这个现象,可以参考下

<!-- gh-comment-id:2567289772 --> @hkfires commented on GitHub (Jan 2, 2025): https://github.com/user-attachments/assets/695e857e-f297-4c9c-ad9e-43ba223c841c 我录了段短视频,复现这个现象,可以参考下
Author
Owner

@0xJacky commented on GitHub (Jan 2, 2025):

好的,收到

<!-- gh-comment-id:2567297694 --> @0xJacky commented on GitHub (Jan 2, 2025): 好的,收到
Author
Owner

@0xJacky commented on GitHub (Jan 9, 2025):

已修复

<!-- gh-comment-id:2578910913 --> @0xJacky commented on GitHub (Jan 9, 2025): 已修复
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#3522
No description provided.