Created
April 8, 2021 09:55
-
-
Save aslam-mulkin/031e3cfe08576c3059b8c69851fa9856 to your computer and use it in GitHub Desktop.
medium-post-nginx-https
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: networking.k8s.io/v1 | |
| kind: Ingress | |
| metadata: | |
| name: nginx | |
| annotations: | |
| kubernetes.io/ingress.class: nginx | |
| spec: | |
| rules: | |
| - host: nginx.example.com | |
| http: | |
| paths: | |
| - backend: | |
| service: | |
| name: nginx | |
| port: | |
| number: 80 | |
| path: / | |
| pathType: ImplementationSpecific | |
| tls: | |
| - hosts: | |
| - nginx.example.com | |
| secretName: my-tls-secret |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment