higress-group/higress

支持nginx的error_page功能

開放

#1,612 建立於 2024年12月20日

 (3 則留言) (0 個反應) (0 位負責人)Go (1,219 個分叉)github user discovery
area/annotationhelp wantedsig/controller

倉庫指標

星標
 (9,036 顆星)
PR 合併指標
 (平均合併 7天 9小時) (30 天內合併 18 個 PR)

描述

Why do you need it?

默认在一些常见的异常页面,比如404, 503等,为了给用户一个好的信息反馈,会单独定制一些页面。nginx支持这块功能使用的配置指令是error_page, 具体用法参见: https://nginx.org/en/docs/http/ngx_http_core_module.html#error_page

How could it be?

具体功能类似nginx的error_page功能,可以配置什么返回码对应哪些页面,这个页面可能是存储在oss,也可能是在某个服务上的。 比如如果页面请求返回404,整体返回404的一个提示页面。

Other related information

Add any other context or screenshots about the feature request here.

貢獻者指南