For me just commenting out line "try_files $uri $uri/ =404;" inside location / { } because as Dexter mentioned
"we need to remove this 404 handling because next's _next folder and nextjs own handling of 404"