Answer the question
In order to leave comments, you need to log in
How to block public proxies?
Hello.
There is a site on the server with a sheaf "Apache+Nginx". There was a need to close access to the site through public proxies. What is the best way to do this?
There was an idea to block via .htaccess, but the IP blacklists are quite large - wouldn't that slow things down?
Answer the question
In order to leave comments, you need to log in
If you need to tightly block access - iptables or nginx
deny IP;
deny subnet;
(if you have nginx in front, I hope) Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question