ingress-nginx-helm/docs/examples/customization/configuration-snippets/ingress.yaml
2021-11-01 17:12:58 -07:00

19 lines
431 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: nginx-configuration-snippet
annotations:
nginx.ingress.kubernetes.io/configuration-snippet: |
more_set_headers "Request-Id: $req_id";
spec:
rules:
- host: custom.configuration.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: http-svc
port:
number: 80