Service unavailble when trying to build static files

Bug report

Service unavailble when trying to build static files.

Describe the bug

I have some problem with static build in Nuxt. When I push it on the server, some routes from Strapi give me a “Service unavailable” error. Is it possible to catch which routes gives an error and generate them until it makes static file? I would like to add that the site is huge and strapi has to build over 1000 pages.

Expected behavior

Generate all static files.

Screenshot

System Information
  • Strapi Version: 3.3.4
  • Operating System: MacOs Catalina
  • Database: Atlas MongoDB
  • Node Version: 12
  • NPM Version: 6