How can I get nginx to always serve index.html no matter the URL?
For example, I want the URL https://www.example.me/723738
to always serve https://www.example.me/index.html
I don't want to use a re-direct, because the user must still have the original URL they typed in their address bar.
I changing Nginx config to re-direct 404's to index.html, but I don't think thats a great way of doing it because it will return a 404 response.
In future I may want to have the index.html display the original URL that the user accessed, is there a way to do this?
Thanks