Skip to content

Instantly share code, notes, and snippets.

@marciok
Created February 20, 2019 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marciok/90d624a840961719be56e8511535025e to your computer and use it in GitHub Desktop.
Save marciok/90d624a840961719be56e8511535025e to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: my-nginx-ingress
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- host: myhost.mydomain.org
http:
paths:
- path: /
backend:
serviceName: rails
servicePort: 3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment