![]() Rather than hard-coding the default response format as HTML, allow the default to be overridden by an environment variable. For example, given a REST API endpoint that defaults to responding in JSON, you may wish to configure the error messages to be JSON by default as well. |
||
---|---|---|
.. | ||
rootfs | ||
main.go | ||
Makefile | ||
metrics.go | ||
README.md |
custom-error-pages
Example of Custom error pages for the NGINX Ingress controller