Good luck.
{{ if show_details }}
+ {{- if host }}
Host: {{ host }}
{{ end -}}
{{- if original_uri }}
Original URI: {{ original_uri }}
{{ end -}}
+ {{- if forwarded_for }}
Forwarded for: {{ forwarded_for }}
{{ end -}}
{{- if namespace }}
Namespace: {{ namespace }}
{{ end -}}
{{- if ingress_name }}
Ingress name: {{ ingress_name }}
{{ end -}}
{{- if service_name }}
Service name: {{ service_name }}
{{ end -}}
diff --git a/templates/l7-dark.html b/templates/l7-dark.html
index 846cd2a..68b94ed 100644
--- a/templates/l7-dark.html
+++ b/templates/l7-dark.html
@@ -40,10 +40,18 @@
{{ if show_details }}
+ {{- if host }}
+ Host |
+ {{ host }} |
+
{{ end -}}
{{- if original_uri }}
Original URI |
{{ original_uri }} |
{{ end -}}
+ {{- if forwarded_for }}
+ Forwarded for |
+ {{ forwarded_for }} |
+
{{ end -}}
{{- if namespace }}
Namespace |
{{ namespace }} |
diff --git a/templates/l7-light.html b/templates/l7-light.html
index 56a4678..60e1310 100644
--- a/templates/l7-light.html
+++ b/templates/l7-light.html
@@ -40,10 +40,18 @@
{{ if show_details }}
+ {{- if host }}
+ Host |
+ {{ host }} |
+
{{ end -}}
{{- if original_uri }}
Original URI |
{{ original_uri }} |
{{ end -}}
+ {{- if forwarded_for }}
+ Forwarded for |
+ {{ forwarded_for }} |
+
{{ end -}}
{{- if namespace }}
Namespace |
{{ namespace }} |
diff --git a/templates/shuffle.html b/templates/shuffle.html
index b703a37..5c64a28 100644
--- a/templates/shuffle.html
+++ b/templates/shuffle.html
@@ -76,12 +76,24 @@
{{ if show_details }}
+ {{- if host }}
+
+ Host: |
+ {{ host }} |
+
+ {{ end -}}
{{- if original_uri }}
Original URI: |
{{ original_uri }} |
{{ end -}}
+ {{- if forwarded_for }}
+
+ Forwarded for: |
+ {{ forwarded_for }} |
+
+ {{ end -}}
{{- if namespace }}
Namespace: |
diff --git a/test/hurl/code_502_xml.hurl b/test/hurl/code_502_xml.hurl
index d9cec69..943e92b 100644
--- a/test/hurl/code_502_xml.hurl
+++ b/test/hurl/code_502_xml.hurl
@@ -22,6 +22,8 @@ xpath "string(//error/details/ingressName)" == "baz"
xpath "string(//error/details/serviceName)" == "aaa"
xpath "string(//error/details/servicePort)" == "bbb"
xpath "string(//error/details/requestID)" == "ccc"
+xpath "string(//error/details/forwardedFor)" == "ddd"
+xpath "string(//error/details/host)" == "fff"
xpath "string(//error/details/timestamp)" exists
# X-Format in the action