Below you will find pages that utilize the taxonomy term “angular”
Posts
nginx ingress and SPA sites
Several months ago, I resolved the issue "404 Error on refresh with SPA" by using nginx try_files directive, this time it was quite different as the apps were deployed into kubernetes. I tried nginx.ingress.kubernetes.io/use-regex:true and nginx.ingress.kubernetes.io/rewrite-target: /$1. To avoid to block others to others to use staging environment, I setup an skaffold local development environment to troubeshooting the issue. I tried following annotation as well.
nginx.ingress.kubernetes.io/configuration-snippet: | try_files $uri $uri/ /index.