Nuxt 3 Site Returns 500 Error for Direct Domain but Works with Subdomains (www included): Nuxt-Auth, Nginx, or Cloudflare Issue?
I have an issue where my site returns a 500 error if I use the direct domain like example.com, but it works fine with www.example.com or subdomain.example.com. I’m using “@sidebase/nuxt-auth”: “^0.7.2” for authentication. The site works fine on localhost, but the issue occurs only in production.