Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Web server is returning an unknown error 520
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Web server is returning an unknown error 520

tiendungdevtiendungdev Member
edited August 2023 in Help

I have installed Nginx and use Cloudflare proxy to run my WordPress website but I get this error if I click on preloading wp-rocket - https://prnt.sc/Oq7LLZGJtMRL

"Web server is returning an unknown error Error code 520" - https://prnt.sc/Vdk5A5dbV-aW

If I disable Cloudflare proxy preloading cache works properly

Has anyone encountered this error?

Thank you.

Comments

  • Check logs to have an idea what's going on.

    Check nginx logs at:

    /var/log/nginx

    Check php-fpm logs at:

    /var/log/php8.2-fpm.log

    Replace 8.2 with your version number.

    Thanked by 1tiendungdev
  • Thank you.

    There are no errors in 3 files

    php-fpm.log
    php8.1-fpm.log
    error.log - nginx

  • hyena56hyena56 Member
    edited August 2023

    Have u tried disabling HTTP/2 Origin (can be found on Speed -> Optimization) on your Cloudflare, or temporarily disable HTTP/2 on NGINX configuration (if you have)

    Thanked by 1tiendungdev
  • try change your ssl setting in cloudflare to flexible

    Thanked by 1tiendungdev
  • @hyena56 said:
    Have u tried disabling HTTP/2 Origin (can be found on Speed -> Optimization) on your Cloudflare, or temporarily disable HTTP/2 on NGINX configuration (if you have)

    Thank you, problem solved.

Sign In or Register to comment.