Advertisement
pushrbx

Untitled

Feb 5th, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.72 KB | None | 0 0
  1. apiVersion: extensions/v1beta1
  2. kind: Ingress
  3. metadata:
  4.   annotations:
  5.     kubernetes.io/ingress.class: nginx
  6.     nginx.ingress.kubernetes.io/affinity: cookie
  7.     nginx.ingress.kubernetes.io/configuration-snippet: |
  8.      proxy_set_header X-Forwarded-Proto https;
  9.       proxy_set_header X-Forwarded-Port 443;
  10.     nginx.ingress.kubernetes.io/force-ssl-redirect: "false"
  11.     nginx.ingress.kubernetes.io/from-to-www-redirect: "false"
  12.     nginx.ingress.kubernetes.io/ssl-redirect: "false"
  13.   name: example-name
  14. spec:
  15.   rules:
  16.   - host: example.com
  17.     http:
  18.       paths:
  19.       - backend:
  20.           serviceName: keycloak-http
  21.           servicePort: 80
  22.   tls:
  23.   - hosts:
  24.    - example.com
  25.     secretName: example.com-tls
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement