Having the same issue, the sites-available/default states root /usr/share/nginx/www;
but that directory doesn't exist. Changing that line to: root /usr/share/nginx/html; Fixes it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1031515 Title: 404 errors because nginx is configured with wrong 'prefix' , and files are misnamed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1031515/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs