github.com/nginxinc/kubernetes-ingress@v1.12.5/tests/data/ap-waf/virtual-server-waf-spec.yaml (about) 1 apiVersion: k8s.nginx.org/v1 2 kind: VirtualServer 3 metadata: 4 name: virtual-server 5 spec: 6 host: virtual-server.example.com 7 policies: 8 - name: waf-policy 9 upstreams: 10 - name: backend2 11 service: backend2-svc 12 port: 80 13 - name: backend1 14 service: backend1-svc 15 port: 80 16 routes: 17 - path: "/backend1" 18 action: 19 pass: backend1 20 - path: "/backend2" 21 action: 22 pass: backend2