Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: extensions/v1beta1
- kind: Ingress
- metadata:
- annotations:
- kubernetes.io/ingress.class: nginx
- nginx.ingress.kubernetes.io/affinity: cookie
- nginx.ingress.kubernetes.io/configuration-snippet: |
- proxy_set_header X-Forwarded-Proto https;
- proxy_set_header X-Forwarded-Port 443;
- nginx.ingress.kubernetes.io/force-ssl-redirect: "false"
- nginx.ingress.kubernetes.io/from-to-www-redirect: "false"
- nginx.ingress.kubernetes.io/ssl-redirect: "false"
- name: example-name
- spec:
- rules:
- - host: example.com
- http:
- paths:
- - backend:
- serviceName: keycloak-http
- servicePort: 80
- tls:
- - hosts:
- - example.com
- secretName: example.com-tls
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement