Nginx serving single static file fails when receiving full path
Rather than an alias
statement, you could use a try_files
to define the file name. The advantage being that the file's extension will be declared which will make MIME types work correctly.
For example:
location /images/logo { root /var/www; try_files /logo.png =404; }
See this document for details.