skip to Main Content

nginx ingress rewrite target

I make an nginx ingress for my front-end in vuejs. apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: vuejs-ingress namespace: default annotations: cert-manager.io/cluster-issuer: letsencrypt-prod nginx.ingress.kubernetes.io/from-to-www-redirect: "true" nginx.ingress.kubernetes.io/rewrite-target: /$1 spec: ingressClassName: nginx rules: - host: example.com http: paths: - path: /(.*) pathType: Prefix…

VIEW QUESTION
Back To Top
Search