You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for ResponseHeaderModifier for HTTPRouteRule objects
Problem: Users want to add, set, and remove response headers.
Solution: Use add_header and proxy_hide_header NGINX directives to support ResponseHeaderModifier.
If the action is set, we configure the proxy_hide_header directive to remove the header if exists and add_header directive with the given value in the HTTPRoute spec.
If the action is remove, we configure the proxy_hide_header directive to remove the header.
If the action is add, we simply configure the add_header directive with the given value in the HTTPRoute spec.
Copy file name to clipboardExpand all lines: site/content/overview/gateway-api-compatibility.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -157,7 +157,8 @@ See the [static-mode]({{< relref "/reference/cli-help.md#static-mode">}}) comman
157
157
-`requestRedirect`: Supported except for the experimental `path` field. If multiple filters are configured, NGINX Gateway Fabric will choose the first and ignore the rest.
158
158
-`requestHeaderModifier`: Supported. If multiple filters are configured, NGINX Gateway Fabric will choose the first and ignore the rest. Incompatible with `urlRewrite`.
159
159
-`urlRewrite`: Supported. If multiple filters are configured, NGINX Gateway Fabric will choose the first and ignore the rest. Incompatible with `requestHeaderModifier`.
160
-
-`responseHeaderModifier`, `requestMirror`, `extensionRef`: Not supported.
160
+
-`responseHeaderModifier`: Supported.
161
+
-`requestMirror`, `extensionRef`: Not supported.
161
162
-`backendRefs`: Partially supported. Backend ref `filters` are not supported.
0 commit comments