Error 521appears when configuring ssl and cloudflare, and it can not be solved to issue a ticket. It has been three days, please consult the students.

environment: centos7 nginx (openresty)
nginx is running normally, enter the server ip address, the website is linked and run normally, but the input domain name shows error 521, and your own server rejects the link with cloudflare. The ips of cloudflare has been added to the whitelist of iptables. Give your own server nginx.conf configuration and error.log log. Please ask the operation and maintenance partner for help. Thank you.

clipboard.png

clipboard.png

clipboard.png

error.log

clipboard.png

at present, http protocol access is normal, except for https access, and cannot be linked

Mar.11,2021

Thank you for the invitation. Your direct access to IP is normal. It is recommended to check whether there is a whitelist problem in the domain name.


check whether the user configured by nginx can access / usr/local/openresty/nginx/html

Menu