You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by to...@apache.org on 2021/11/19 09:27:00 UTC

[apisix-ingress-controller] branch master updated: docs: update proxy-the-httpbin-service.md (#757)

This is an automated email from the ASF dual-hosted git repository.

tokers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new 719c42f  docs: update proxy-the-httpbin-service.md (#757)
719c42f is described below

commit 719c42f5390794c2d5ac13fb17b5afa96b71055f
Author: rupipal <ru...@gmail.com>
AuthorDate: Fri Nov 19 14:56:53 2021 +0530

    docs: update proxy-the-httpbin-service.md (#757)
---
 docs/en/latest/practices/proxy-the-httpbin-service.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/en/latest/practices/proxy-the-httpbin-service.md b/docs/en/latest/practices/proxy-the-httpbin-service.md
index 56dda7a..0a1c6fe 100644
--- a/docs/en/latest/practices/proxy-the-httpbin-service.md
+++ b/docs/en/latest/practices/proxy-the-httpbin-service.md
@@ -46,7 +46,7 @@ In order to let Apache APISIX proxies requests to httpbin, we need to create an
 
 ```yaml
 # httpbin-route.yaml
-apiVersion: apisix.apache.org/v2beta1
+apiVersion: apisix.apache.org/v2beta2
 kind: ApisixRoute
 metadata:
   name: httpserver-route
@@ -58,8 +58,8 @@ spec:
       - local.httpbin.org
       paths:
       - /*
-    backend:
-        serviceName: httpbin
+    backends:
+       -serviceName: httpbin
         servicePort: 80
 ```