Migrated from vercel: broken styles, functionality doesnt work

What is the name of the domain?

marinepublic.com

What is the issue you’re encountering

broken styles / layout, site functionality doesn’t work, turnstile doesn’t work

What steps have you taken to resolve the issue?

hi, have migrated from vercel, after migration everything was more or less ok, was experincing performance issues don’t know why but the layout was intact, after a few hours when the site become visible in Europe its started loosing layout, become broken, no styles, functionality doesn’t work, also turnstile from the very beginning was saying the invalid domain, i have regenerated keys but no success,
configuration: domain points to CF, CF points to VPS/nginx
CF DNS: A domain.com IP // CNAME www domain.com // both cached
SSL: CF Full Strict Auto, VPS SSL Certbot
CF Cahce was purged several times
When its started, all settings were defaut on CF, I didnt touch them
Appreciote some help

What is the name of the domain?

What is the issue you’re encountering

turnstile doesnt work and saying "invalid domain contact site administratornce it works in prod and dev on my pc, on the vps it doesnt

What steps have you taken to resolve the issue?

chnaged keys, no success
all works in dev and prod on the local machine

Root domain has issue, while www version loads the CSS stylesheet assets correctly.

www has got some other issue:

slika

I suspect it’s the link HTTP header which tells Web browser to preoad the files, did they changed or NextJS is using a different ones now after cache is cleared? :thinking:

In other browser, works okay to me (might be the cache on the origin as well):

Might have to wait for the DNS propagation, if nameservers were changed as well as DNS records.

Are both www and non-www added as hostnames to the Turnstile Widget? :thinking:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.