I my case I was not using /etc/nginx/sites-available/default
I was using a different server block configuration file (e.g. example.com), and the only way I was able to fix this problem is by removing the default server block configuration file symbolic link:
$ rm /etc/nginx/sites-enabled/default
then reloading Nginx:
$ sudo systemctl reload nginx