diff --git a/.nks/ingress.yaml b/.nks/ingress.yaml index 55d6222..e820b21 100644 --- a/.nks/ingress.yaml +++ b/.nks/ingress.yaml @@ -5,6 +5,10 @@ metadata: annotations: nginx.ingress.kubernetes.io/rewrite-target: / nginx.ingress.kubernetes.io/ssl-redirect: "false" + nginx.ingress.kubernetes.io/configuration-snippet: | + if ($host = "nks-fe.clovapatra.com") { + try_files $uri /index.html; + } spec: ingressClassName: nginx rules: