Is it necessary for SEO to return a 404 code when the page is not found? I have a SPA project without server rendering and I can't check the route before displaying it to the user. Are there other ways to tell search engines that a page has not been found and does not need to be indexed?
Access to the SPA passes through nginx. Does it make sense to configure all routes manually?