Mobile app version of vmapp.org
Login or Join
Candy875

: Cloudflare disallow directory I've disallowed a directory by following this and looked at cloudflare's KB I've turned off all the features from the page rules: Here are a few that are not disabled

@Candy875

Posted in: #Cdn #Cloudflare #Error

I've disallowed a directory by following this and looked at cloudflare's KB

I've turned off all the features from the page rules:

Here are a few that are not disabled because I didn't think I needed to disable it or not sure of which value to add:



I need to disallow a directory because it is causing a cloudflare Error 520 issue. They URL is an admin URL which I dont want to give to my webhosts.

Any one know of a solution to fix this?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Candy875

1 Comments

Sorted by latest first Latest Oldest Best

 

@Odierno851

Sadly, you can't disable Cloudflare on a per-directory basis with a page rule: By the time a request is matched to your page rules, it has already reached Cloudflare, and will keep causing an error 520 even if you disable Cloudflare cache on the directory.

Yet, you can disable Cloudflare for a specific subdomain, so you may want to create that page rule to forward the requests to another URL, that one being behind a subdomain not on Cloudflare?

Still, errors 520 can be fixed. Their detailed explanation is here, but the short version is that your webserver is either:


returning headers bigger than 8KB (typically the case when there's a lot of cookies)
prematurely closing the TCP connection coming from Cloudflare

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme