404 Not found with nginx - Ubuntu 18.04

Certbot intentionally sets a catch-all "return 404;" in HTTP virtual hosts that are only used to redirect to HTTPS.

It certainly shouldn't be in your HTTPS virtual host, though.