Help beating cloudflare

Saint Michael venefax at gmail.com
Fri Feb 3 06:56:51 UTC 2023


I have a reverse proxy but the newspaper that  I am proxying is
protected by cloudflare, and the block me immediately, even if I use a
different IP. So somehow they know how to identify my reverse-proxy.
How is my request different than a regular browser? What is giving me up?
can somebody give an example of what are the rules so my proxy passes
for a regular person?
This is what I do now

location / {
proxy_cookie_domain https://www.xxx.com/ https://xxx.xxye.us;
proxy_set_header Host www.xxx.com;
proxy_pass https://www.xxx.com;
proxy_redirect https://www.xxx.com https://xxx.xxye.us;
 proxy_buffering on;
resolver 127.0.0.1 ipv6=off;
proxy_http_version 1.1;
proxy_buffer_size  128k;
proxy_busy_buffers_size  256k;
proxy_buffers 4 256k;
proxy_set_header User-Agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82
Safari/537.36";
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_set_header Accept-Encoding "";
proxy_ssl_server_name on;
proxy_ssl_name $proxy_host;
}


More information about the nginx mailing list