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
Next, let's create a gateway. This will create TLS listener with the hostname *.example.com. Copy paste this into your terminal.
131
+
Create a gateway. This will create TLS listener with the hostname *.example.com. Copy paste this into your terminal.
132
132
133
133
```yaml
134
134
kubectl apply -f - <<EOF
@@ -154,7 +154,7 @@ spec:
154
154
EOF
155
155
```
156
156
157
-
Finally, let's create a TLS Route. This will reference our service and the gateway.
157
+
Create a TLSRoute, this will reference the service and the gateway.
158
158
159
159
```yaml
160
160
kubectl apply -f - <<EOF
@@ -177,13 +177,13 @@ spec:
177
177
EOF
178
178
```
179
179
180
-
## Send Traffic
180
+
## Send traffic
181
181
182
-
Using the external IP address and port for NGINX Gateway Fabric, we can send traffic to our coffee application.
182
+
Using the external IP address and port for NGINX Gateway Fabric, send traffic to the coffee application.
183
183
184
184
{{< note >}}If you have a DNS record allocated for `cafe.example.com`, you can send the request directly to that hostname, without needing to resolve.{{< /note >}}
185
185
186
-
To test that NGINX sends an HTTPS redirect, we will send requests to the `secure-app`service on the HTTPS port.
186
+
Send a request to the `secure-app` service on the HTTPS port with the `--insecure` flag. The `--insecure` flag is required because the `secure-app`is using self-signed certificates.
0 commit comments