|
| 1 | +diff --git docs/html/50x.html docs/html/50x.html |
| 2 | +index 356d6df..cd67297 100644 |
| 3 | +--- docs/html/50x.html |
| 4 | ++++ docs/html/50x.html |
| 5 | +@@ -14,12 +14,7 @@ |
| 6 | + </head> |
| 7 | + <body> |
| 8 | + <h1>An error occurred.</h1> |
| 9 | +-<p>Sorry, the page you are looking for is currently unavailable.<br/> |
| 10 | +-Please try again later.</p> |
| 11 | +-<p>If you are the system administrator of this resource then you should check |
| 12 | +-the <a href="http://nginx.org/r/error_log">error log</a> for details.</p> |
| 13 | +-<p>We have articles on troubleshooting issues like <a href="https://blog.openresty.com/en/lua-cpu-flame-graph/?src=wb">high CPU usage</a> and |
| 14 | +-<a href="https://blog.openresty.com/en/how-or-alloc-mem/">large memory usage</a> on <a href="https://blog.openresty.com/">our official blog site</a>. |
| 15 | +-<p><em>Faithfully yours, <a href="https://openresty.org/">OpenResty</a>.</em></p> |
| 16 | ++<p>You can report issue to <a href="https://github.com/apache/apisix/issues">APISIX</a></p> |
| 17 | ++<p><em>Faithfully yours, <a href="https://apisix.apache.org/">APISIX</a>.</em></p> |
| 18 | + </body> |
| 19 | + </html> |
| 20 | +diff --git src/http/ngx_http_special_response.c src/http/ngx_http_special_response.c |
| 21 | +index 0cfc299..79493e2 100644 |
| 22 | +--- src/http/ngx_http_special_response.c |
| 23 | ++++ src/http/ngx_http_special_response.c |
| 24 | +@@ -20,6 +20,7 @@ static ngx_int_t ngx_http_send_refresh(ngx_http_request_t *r); |
| 25 | + |
| 26 | + static u_char ngx_http_error_full_tail[] = |
| 27 | + "<hr><center>" NGINX_VER "</center>" CRLF |
| 28 | ++"<p><em>Powered by <a href=\"https://apisix.apache.org/\">APISIX</a>.</em></p>" |
| 29 | + "</body>" CRLF |
| 30 | + "</html>" CRLF |
| 31 | + ; |
| 32 | +@@ -27,6 +28,7 @@ static u_char ngx_http_error_full_tail[] = |
| 33 | + |
| 34 | + static u_char ngx_http_error_build_tail[] = |
| 35 | + "<hr><center>" NGINX_VER_BUILD "</center>" CRLF |
| 36 | ++"<p><em>Powered by <a href=\"https://apisix.apache.org/\">APISIX</a>.</em></p>" |
| 37 | + "</body>" CRLF |
| 38 | + "</html>" CRLF |
| 39 | + ; |
| 40 | +@@ -34,6 +36,7 @@ static u_char ngx_http_error_build_tail[] = |
| 41 | + |
| 42 | + static u_char ngx_http_error_tail[] = |
| 43 | + "<hr><center>openresty</center>" CRLF |
| 44 | ++"<p><em>Powered by <a href=\"https://apisix.apache.org/\">APISIX</a>.</em></p>" |
| 45 | + "</body>" CRLF |
| 46 | + "</html>" CRLF |
| 47 | + ; |
0 commit comments