Nginx not able to fetch files in /location alias
Your OS might treat /tmp
in a special way, so that every user has its own /tmp
directory. Therefore, since nginx runs as www-data
or similar user, it cannot see the file you have created using your own account.
Please try some directory under /var/www
instead.