...
1apiVersion: getambassador.io/v3alpha1
2kind: Module
3metadata:
4 name: ambassador
5spec:
6 config:
7 error_response_overrides:
8 - body:
9 content_type: text/html
10 text_format_source:
11 filename: /ambassador/ambassador-errorpages/5xx.html
12 on_status_code: 500
13 - body:
14 content_type: text/html
15 text_format_source:
16 filename: /ambassador/ambassador-errorpages/502.html
17 on_status_code: 502
18 - body:
19 content_type: text/html
20 text_format_source:
21 filename: /ambassador/ambassador-errorpages/503.html
22 on_status_code: 503
23 - body:
24 content_type: text/html
25 text_format_source:
26 filename: /ambassador/ambassador-errorpages/504.html
27 on_status_code: 504
28 - body:
29 content_type: text/html
30 text_format_source:
31 filename: /ambassador/ambassador-errorpages/4xx.html
32 on_status_code: 400
33 - body:
34 content_type: text/html
35 text_format_source:
36 filename: /ambassador/ambassador-errorpages/403.html
37 on_status_code: 403
38 - body:
39 content_type: text/html
40 text_format_source:
41 filename: /ambassador/ambassador-errorpages/404.html
42 on_status_code: 404
View as plain text