nginx - serve single file on a location block without changing the path

Solution 1:

Simplest way would be

location / {
    try_files /index.html /index.html;
}