apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: hello-nginx-ingress
namespace: study
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.org/ssl-services: "nginx-service"
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
spec:
rules:
- host: www.bestofgit.com
http:
paths:
- backend:
serviceName: nginx-service
servicePort: 443
tls:
- hosts:
- www.bestofgit.com