Dear Mr./Mrs.
I have some trouble when setting my domain. I have already prepared nginx environment and started it up, and I have already used the Cloudflare CDN. It works and shows the default page of nginx at first time, but if I refresh the page the time it finished loading, it shows an 521 error. And it works again if I wait some time and repeat the situation above.
Since I have just set up nginx,so I use the default conf file of nginx,which don’t have access limit,and I won’t meet this problem if I use my network or Cloudflare worker to connect to my origin server.I’m not using iptables or firewalld to limit my server’s port either.
Here is my domain new.fangkehou.eu.org, please help me solve this problem. Thank you!
(我英语不是很好,还请您不要介意)
20210805更新:/ update on 2021.8.5:
依照了 @1blas 的建议关闭了Railgun,问题解决了,但是原因没搞明白。。。。。。
I have turn off the Railgun, thanks to @1blas . But I still don’t know why…
I took a look at our logs for your zone and can see that the intermittent 521 errors that have been served are mainly due to a network connectivity issue with Railgun. Can you reach out to your hosting provider or look through your origin server logs for any Railgun errors?
@1blas Oh,thanks! that really help. I have turn off the Railgun and have successfully solved the problem.But I can’t know why… There is not even an access log on my server when 521 error happens…