K
K
Konstantin Khairov2019-01-04 12:51:56
Google
Konstantin Khairov, 2019-01-04 12:51:56

How to block access to the directory with pictures for google?

Hello. How can you block access to the directory where pictures are stored in subdirectories specifically for google through the nginx config. Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2019-01-04
@ky0

You take a list of Google IP addresses on the Internet, add deny rules for them to the location. A week later, you find that the list is not complete, repeat the first paragraph.
But in general, I vanguy that you approached the solution of the problem from the wrong side.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question