We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 08adc0f + 5fa741a commit 1876239Copy full SHA for 1876239
1 file changed
README.md
@@ -1126,7 +1126,7 @@ kubectl get service
1126
1127
这样在 k8s 集群中,就有 3 个 `hellok8s:v3` 的 pod,2 个 `nginx` 的 pod。并且`hellok8s:v3` 的端口映射为 `3000:3000`,`nginx` 的端口映射为 `4000:80`。在这个基础上,接下来编写 Ingress 资源的定义,`nginx.ingress.kubernetes.io/ssl-redirect: "false"` 的意思是这里关闭 `https` 连接,只使用 `http` 连接。
1128
1129
-匹配前缀为 `/hello` 的路由规则,重定向到 `hellok8s:v3` 服务,匹配前缀为 `/` 的跟路径重定向到 `nginx`。
+匹配前缀为 `/hello` 的路由规则,重定向到 `hellok8s:v3` 服务,匹配前缀为 `/` 的根路径重定向到 `nginx`。
1130
1131
```yaml
1132
apiVersion: networking.k8s.io/v1
0 commit comments