Which server fallback config correctly serves Vue Router history mode routes in production?
Goal Deploy a Vue 3 single‑page application that uses createWebHistory so that URLs such as /users/42 are clean and SEO friendly. The Vite dev server rewrites unknown paths to index.html , but a plain static host (nginx, Apache, CDN edge) returns a 404 on a hard‑refresh or deep link. Constraints & Uncertainty The server must return index.html for all SPA