Skip to content

Instantly share code, notes, and snippets.

@luandevpro
Created July 11, 2020 03:51
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 luandevpro/9edec549579c0431c0f5f9accc943c34 to your computer and use it in GitHub Desktop.
Save luandevpro/9edec549579c0431c0f5f9accc943c34 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: app
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- http:
paths:
- path: /first
backend:
serviceName: app
servicePort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment