When we use the static mode, Next.js want that we build our mail-domains pages at build time. But we can't do that because users can create a mail at runtime. So we redirect thanks to ngnix when we see that a mail page is not found.
When we use the static mode, Next.js want that we build our mail-domains pages at build time. But we can't do that because users can create a mail at runtime. So we redirect thanks to ngnix when we see that a mail page is not found.