2017-02-23 18:10:32 +00:00
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: nginx-configuration-snippet
|
|
|
|
annotations:
|
2017-11-24 18:46:51 +00:00
|
|
|
nginx.ingress.kubernetes.io/configuration-snippet: |
|
2017-02-23 18:10:32 +00:00
|
|
|
more_set_headers "Request-Id: $request_id";
|
|
|
|
|
|
|
|
spec:
|
|
|
|
rules:
|
|
|
|
- host: custom.configuration.com
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- backend:
|
|
|
|
serviceName: http-svc
|
|
|
|
servicePort: 80
|
|
|
|
path: /
|