Hi Edho,
> If going so far to hit api server anyway, why not proxy all requests
> (except assets) and serve the index page if 200 and request type is
> html? nginx then can intercept errors and return correct html error
>page.
Yes, that would be possible. But – if I understand you correctly – my backend would then need to serve the index page itself, and therefore be highly coupled to the frontend.
Currently, my backend does not have any knowledge about the frontend whatsoever.
Thanks for your input.