Add 404 error handler to nginx configuration