Created
April 13, 2020 18:41
-
-
Save paul-lupu/844e237651c235731e8e0fac4caee410 to your computer and use it in GitHub Desktop.
This file contains 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: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: example-ingress | |
annotations: | |
nginx.ingress.kubernetes.io/ssl-redirect: "false" | |
nginx.ingress.kubernetes.io/force-ssl-redirect: "false" | |
nginx.ingress.kubernetes.io/rewrite-target: / | |
spec: | |
tls: | |
- hosts: | |
- nginx.mobileinsight.com | |
secretName: tls-secret | |
rules: | |
- host: nginx.mobileinsight.com | |
http: | |
paths: | |
- path: /apple | |
backend: | |
serviceName: apple-service | |
servicePort: 5678 | |
- path: /banana | |
backend: | |
serviceName: banana-service | |
servicePort: 5678 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment