@@ -21,7 +21,7 @@ example, to issue a permanent redirect (301) from HTTP to HTTPS, configure
21
21
` requestRedirect.statusCode=301 ` and ` requestRedirect.scheme="https" ` :
22
22
23
23
``` yaml
24
- {% include 'v1alpha2 /http-redirect-rewrite/httproute-redirect-https.yaml' %}
24
+ {% include 'experimental /http-redirect-rewrite/httproute-redirect-https.yaml' %}
25
25
```
26
26
27
27
Redirects change configured URL components to match the redirect configuration
@@ -43,7 +43,7 @@ prefixes. For example, the HTTPRoute below will issue a 302 redirect to all
43
43
` redirect.example ` requests whose path begins with ` /cayenne ` to ` /paprika ` :
44
44
45
45
``` yaml
46
- {% include 'v1alpha2 /http-redirect-rewrite/httproute-redirect-full.yaml' %}
46
+ {% include 'experimental /http-redirect-rewrite/httproute-redirect-full.yaml' %}
47
47
```
48
48
49
49
Both requests to
@@ -55,7 +55,7 @@ The other path redirect type, `ReplacePrefixMatch`, replaces only the path
55
55
portion matching ` matches.path.value ` . Changing the filter in the above to:
56
56
57
57
``` yaml
58
- {% include 'v1alpha2 /http-redirect-rewrite/httproute-redirect-prefix.yaml' %}
58
+ {% include 'experimental /http-redirect-rewrite/httproute-redirect-prefix.yaml' %}
59
59
```
60
60
61
61
will result in redirects with `location:
@@ -74,7 +74,7 @@ following HTTPRoute will accept a request for
74
74
rewrite.example`.
75
75
76
76
``` yaml
77
- {% include 'v1alpha2 /http-redirect-rewrite/httproute-rewrite.yaml' %}
77
+ {% include 'experimental /http-redirect-rewrite/httproute-rewrite.yaml' %}
78
78
```
79
79
80
80
Path rewrites also make use of HTTP Path Modifiers. The HTTPRoute below
@@ -84,5 +84,5 @@ Instead using `type: ReplacePrefixMatch` and `replacePrefixMatch: /fennel` will
84
84
request ` https://elsewhere.example/fennel/smidgen ` upstream.
85
85
86
86
``` yaml
87
- {% include 'v1alpha2 /http-redirect-rewrite/httproute-rewrite.yaml' %}
87
+ {% include 'experimental /http-redirect-rewrite/httproute-rewrite.yaml' %}
88
88
```
0 commit comments