I know this is old, but I ran into this issue and it took me a while to solve. Just wanted to add this here for posterity.
All you need to do is delete the line
try_files $uri $uri/ =404:
in the sites-available/default file.