Skip to content

Commit d467198

Browse files
committed
Move rewrite and redirect examples to experimental
1 parent 651dade commit d467198

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

site-src/v1alpha2/guides/http-redirect-rewrite.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ example, to issue a permanent redirect (301) from HTTP to HTTPS, configure
2121
`requestRedirect.statusCode=301` and `requestRedirect.scheme="https"`:
2222

2323
```yaml
24-
{% include 'v1alpha2/http-redirect-rewrite/httproute-redirect-https.yaml' %}
24+
{% include 'experimental/http-redirect-rewrite/httproute-redirect-https.yaml' %}
2525
```
2626

2727
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
4343
`redirect.example` requests whose path begins with `/cayenne` to `/paprika`:
4444

4545
```yaml
46-
{% include 'v1alpha2/http-redirect-rewrite/httproute-redirect-full.yaml' %}
46+
{% include 'experimental/http-redirect-rewrite/httproute-redirect-full.yaml' %}
4747
```
4848

4949
Both requests to
@@ -55,7 +55,7 @@ The other path redirect type, `ReplacePrefixMatch`, replaces only the path
5555
portion matching `matches.path.value`. Changing the filter in the above to:
5656

5757
```yaml
58-
{% include 'v1alpha2/http-redirect-rewrite/httproute-redirect-prefix.yaml' %}
58+
{% include 'experimental/http-redirect-rewrite/httproute-redirect-prefix.yaml' %}
5959
```
6060

6161
will result in redirects with `location:
@@ -74,7 +74,7 @@ following HTTPRoute will accept a request for
7474
rewrite.example`.
7575

7676
```yaml
77-
{% include 'v1alpha2/http-redirect-rewrite/httproute-rewrite.yaml' %}
77+
{% include 'experimental/http-redirect-rewrite/httproute-rewrite.yaml' %}
7878
```
7979

8080
Path rewrites also make use of HTTP Path Modifiers. The HTTPRoute below
@@ -84,5 +84,5 @@ Instead using `type: ReplacePrefixMatch` and `replacePrefixMatch: /fennel` will
8484
request `https://elsewhere.example/fennel/smidgen` upstream.
8585

8686
```yaml
87-
{% include 'v1alpha2/http-redirect-rewrite/httproute-rewrite.yaml' %}
87+
{% include 'experimental/http-redirect-rewrite/httproute-rewrite.yaml' %}
8888
```

0 commit comments

Comments
 (0)