
* Add custom error pages example file * Update docs/examples/customization/custom-errors/README.md Co-authored-by: Jintao Zhang <tao12345666333@163.com> Co-authored-by: Jintao Zhang <tao12345666333@163.com>
19 lines
402 B
YAML
19 lines
402 B
YAML
# Custom error page configMap
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: custom_error_pages
|
|
data:
|
|
404: |
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head><title>PAGE NOT FOUND</title></head>
|
|
<body>PAGE NOT FOUND</body>
|
|
</html>
|
|
503: |
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head><title>CUSTOM SERVICE UNAVAILABLE</title></head>
|
|
<body>CUSTOM SERVICE UNAVAILABLE</body>
|
|
</html>
|