github.com/nginxinc/kubernetes-ingress@v1.12.5/examples-of-custom-resources/jwt/virtual-server.yaml (about) 1 apiVersion: k8s.nginx.org/v1 2 kind: VirtualServer 3 metadata: 4 name: webapp 5 spec: 6 host: webapp.example.com 7 policies: 8 - name: jwt-policy 9 upstreams: 10 - name: webapp 11 service: webapp-svc 12 port: 80 13 routes: 14 - path: / 15 action: 16 pass: webapp