higress-group/higress

支持nginx的error_page功能

Offen

#1.612 geöffnet am 20.12.2024

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (1.219 Forks)github user discovery
area/annotationhelp wantedsig/controller

Repository-Metriken

Stars
 (9.036 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 7T 9h) (18 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide