github.com/nginxinc/kubernetes-ingress@v1.12.5/tests/data/virtual-server-route-canned-responses/route-multiple-invalid.yaml (about)

     1  apiVersion: k8s.nginx.org/v1
     2  kind: VirtualServerRoute
     3  metadata:
     4    name: backends
     5  spec:
     6    host: virtual-server-route.example.com
     7    subroutes:
     8    - path: "/backends/canned-response"
     9      action:
    10        return:
    11          code: 301
    12          type: "anything will do"
    13          body: "Variables must be inclosed in curly brackets: $request_uri"