Error 500 on direct domain access (non www or subdomain)
I have an issue where my site got error 500 if I use direct domain like
mydomain.com
, but working fine with www.mydomain.com
or subdomain.mydomain.com
.
I'm using "@sidebase/nuxt-auth": "^0.7.2"
for the authentication .
Working fine on localhost, only on production .
I'm using nginx for proxy pass to my app on production proxy_pass http://localhost:3000/;
.
The domain is managed by cloudflare , with their free ssl certificate ..
Is it nuxt or nuxt-auth issue ?
or nginx or cloudflare related issue ?1 Reply
this looks somehow similar to my issue. https://discord.com/channels/473401852243869706/1248695285052473494
do you get an error when you build and preview?