https://github.com/kubernetes-retired/contrib/tree/master/ingress/controllers/nginx/examples/tls
I've tried to configure https for my ingress resource by this tutorial. I've done all the needed steps, but when I try to go to my site it send me:
Should I do some additional steps?
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/from-to-www-redirect: "true"
spec:
rules:
- host: www.domain.com
http:
paths:
- backend:
serviceName: front-end-service
servicePort: 80
path: /
- host: www.domain.com
http:
paths:
- backend:
serviceName: back-end-service
servicePort: 3000
path: /api
tls:
- hosts:
- www.domain.com
secretName: my-sectet
Sectet which I've created exist . I've checked it by using this command kubectl get secrets
and name the same like I use in ingress resource.
If you need additiona info , pls let me know