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