Skip to content

Instantly share code, notes, and snippets.

@red8888
red8888 / nginx.ingress.controller.yaml
Created April 22, 2019 19:51
add x-forwarded-for field
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: sdfsdfdsf
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.com/health-checks: "true"
nginx.com/health-checks-mandatory: "true"