canlı casino siteleri casino siteleri 1xbet giriş casino sex hikayeleri oku

how To Fix Error 520 Cloudflare

how To Fix Error 520 Cloudflare
  • PublishedMarch 16, 2022

520 origin error cloudflare-nginx

Resolving the Common Reasons for Error 520

Now that you have your error log, search through it and see if you notice any one of the issues below. Then, follow the steps below to resolve the issue.

Origin Server PHP Application Crashed

One common issue that causes error 520 is that one of the PHP applications have crashed on your server. Restarting PHP will fix the error.

Step 1

Using SSH, you can enter the command below for Apache servers:

apache2ctl restart

For Nginx servers, you can restart PHP using the command below:

service nginx restart

Restart PHP in MyKinsta

If your site is hosted with Kinsta, you can restart PHP in a few clicks.

Step 1

Log into MyKinsta and click on Sites on the left. Then, click on your site from the list.


How To Fix Cloudflare Error 520: Web Server Is Returning An Unknown Error

  1. Search Error Logs For Device Resets
  2. Restart PHP Applications On Your Origin Server
  3. Whitelist Your Cloudflare Origin Server IP Address
  4. Check Response Headers From Your Cloudflare Origin Web Server
  5. Lighten Your Cookie Load
  6. Correct Your Cloudflare Origin Server DNS Settings
  7. Examine Your Server Traffic
  8. Check For Non-HTTP Errors In Your Cloudflare Logs
Written By