Skip to content

Commit 976366f

Browse files
authored
Updates User Docs to Use Echoserver (#694)
Signed-off-by: danehans <[email protected]> Signed-off-by: danehans <[email protected]>
1 parent 80c78a5 commit 976366f

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

docs/latest/user/http-redirect.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ HTTPRoute rules cannot use both filter types at once. Currently, Envoy Gateway o
55
[HTTPRoute filters][] which consist of `RequestRedirect` and `RequestHeaderModifier` at the time of this writing. To
66
learn more about HTTP routing, refer to the [Gateway API documentation][].
77

8-
Follow the steps from the [Secure Gateways](secure-gateways.md) to install Envoy Gateway and the example manifest. Do not
9-
proceed until you can curl the example backend from the Quickstart guide using HTTPS.
8+
Follow the steps from the [Secure Gateways](secure-gateways.md) to install Envoy Gateway and the example manifest. Do
9+
not proceed until you can curl the example backend from the Quickstart guide using HTTPS.
1010

1111
## Redirects
1212
Redirects return HTTP 3XX responses to a client, instructing it to retrieve a different resource. A
@@ -34,8 +34,8 @@ spec:
3434
hostname: www.example.com
3535
port: 8443
3636
backendRefs:
37-
- name: httpbin
38-
port: 80
37+
- name: backend
38+
port: 3000
3939
EOF
4040
```
4141

@@ -95,8 +95,8 @@ spec:
9595
replaceFullPath: /status/200
9696
statusCode: 302
9797
backendRefs:
98-
- name: httpbin
99-
port: 80
98+
- name: backend
99+
port: 3000
100100
EOF
101101
```
102102

docs/latest/user/secure-gateways.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -subj '/O=example In
2828
Create a certificate and a private key for `www.example.com`:
2929

3030
```shell
31-
openssl req -out www.example.com.csr -newkey rsa:2048 -nodes -keyout www.example.com.key -subj "/CN=www.example.com/O=httpbin organization"
31+
openssl req -out www.example.com.csr -newkey rsa:2048 -nodes -keyout www.example.com.key -subj "/CN=www.example.com/O=example organization"
3232
openssl x509 -req -days 365 -CA example.com.crt -CAkey example.com.key -set_serial 0 -in www.example.com.csr -out www.example.com.crt
3333
```
3434

@@ -110,7 +110,7 @@ curl -v -HHost:www.example.com --resolve "www.example.com:8443:${GATEWAY_HOST}"
110110
Create a TLS cert/key for the additional HTTPS listener:
111111

112112
```shell
113-
openssl req -out foo.example.com.csr -newkey rsa:2048 -nodes -keyout foo.example.com.key -subj "/CN=foo.example.com/O=httpbin organization"
113+
openssl req -out foo.example.com.csr -newkey rsa:2048 -nodes -keyout foo.example.com.key -subj "/CN=foo.example.com/O=example organization"
114114
openssl x509 -req -days 365 -CA example.com.crt -CAkey example.com.key -set_serial 0 -in foo.example.com.csr -out foo.example.com.crt
115115
```
116116

docs/v0.2.0/user/http-redirect.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ HTTPRoute rules cannot use both filter types at once. Currently, Envoy Gateway o
55
[HTTPRoute filters][] which consist of `RequestRedirect` and `RequestHeaderModifier` at the time of this writing. To
66
learn more about HTTP routing, refer to the [Gateway API documentation][].
77

8-
Follow the steps from the [Secure Gateways](secure-gateways.md) to install Envoy Gateway and the example manifest. Do not
9-
proceed until you can curl the example backend from the Quickstart guide using HTTPS.
8+
Follow the steps from the [Secure Gateways](secure-gateways.md) to install Envoy Gateway and the example manifest. Do
9+
not proceed until you can curl the example backend from the Quickstart guide using HTTPS.
1010

1111
## Redirects
1212
Redirects return HTTP 3XX responses to a client, instructing it to retrieve a different resource. A
@@ -34,8 +34,8 @@ spec:
3434
hostname: www.example.com
3535
port: 8443
3636
backendRefs:
37-
- name: httpbin
38-
port: 80
37+
- name: backend
38+
port: 3000
3939
EOF
4040
```
4141

@@ -95,8 +95,8 @@ spec:
9595
replaceFullPath: /status/200
9696
statusCode: 302
9797
backendRefs:
98-
- name: httpbin
99-
port: 80
98+
- name: backend
99+
port: 3000
100100
EOF
101101
```
102102

docs/v0.2.0/user/secure-gateways.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -subj '/O=example In
2828
Create a certificate and a private key for `www.example.com`:
2929

3030
```shell
31-
openssl req -out www.example.com.csr -newkey rsa:2048 -nodes -keyout www.example.com.key -subj "/CN=www.example.com/O=httpbin organization"
31+
openssl req -out www.example.com.csr -newkey rsa:2048 -nodes -keyout www.example.com.key -subj "/CN=www.example.com/O=example organization"
3232
openssl x509 -req -days 365 -CA example.com.crt -CAkey example.com.key -set_serial 0 -in www.example.com.csr -out www.example.com.crt
3333
```
3434

@@ -110,7 +110,7 @@ curl -v -HHost:www.example.com --resolve "www.example.com:8443:${GATEWAY_HOST}"
110110
Create a TLS cert/key for the additional HTTPS listener:
111111

112112
```shell
113-
openssl req -out foo.example.com.csr -newkey rsa:2048 -nodes -keyout foo.example.com.key -subj "/CN=foo.example.com/O=httpbin organization"
113+
openssl req -out foo.example.com.csr -newkey rsa:2048 -nodes -keyout foo.example.com.key -subj "/CN=foo.example.com/O=example organization"
114114
openssl x509 -req -days 365 -CA example.com.crt -CAkey example.com.key -set_serial 0 -in foo.example.com.csr -out foo.example.com.crt
115115
```
116116

0 commit comments

Comments
 (0)