I have deployed my website in Google Cloud Run and everything is fine. But after I use Cloudfare DNS for domain mapping, my website shows the same page 2 times. (My website:
I have tried many ways to solve the problem, for example:
- Purge Cache: Purge Everything
- Delete the mapped domain and re-add it in Cloud Run Domain mappings.
- I’ve deleted the Cloud Run Service and recreated and mapped the domain.
All 3 methods didn’t work and it still shows the same wrong page.
The only way to get the website to display correctly is to turn on Development mode.
I’m not sure where this problem is coming from Google Cloud Run or Cloudflare.
thanks for all answers.
It seems to load all right.
If this is not the correct content, it will be best to pause Cloudflare and make sure everything loads fine.
Once it does it should work all right on Cloudflare as well.
Thanks for the answer and it worked. Can you explain more why Pause Cloudflare and it works? And in the future, can I turn on Cloudflare?
It’s currently not paused. Does the screenshot I posted not show the right content?
@sandro I have paused and tried clicking unpause now it is working properly. The screenshot you took still doesn’t display properly because usually a website has a menu bar. Now you can enter the website again and you should see a menu bar.
Can you disable all Auto Minification at https://dash.cloudflare.com/?to=/:account/:zone/speed/optimization?
I seem to have tracked it down to
https://www.jmrconstruction.co.th/_nuxt/Customer.4976db48.js. That code seems to perform some action which shifts your menu when loaded via Cloudflare. That’s possibly related to said minification, though the details should be up to your web developer at this point.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.