I
I
icell762020-07-18 10:09:27
Nginx
icell76, 2020-07-18 10:09:27

How to make access to the site directory by the name of the provider?

Good afternoon. I use cloudflare and nginx. It is necessary that access to the directory was only for the CloudFlare Provider. As you know, it's proxying. Initially, allow was specified by another vps, which should pump up. But it didn't. I looked into acces.log and saw that other ips are downloading, they are just Cloud ones. How can I set allow access only for the cloudflare provider?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Gavrilov, 2020-07-19
@icell76

if it proxies. so all traffic will be Cloud, also don't forget to set real ip https://support.cloudflare.com/hc/en-us/articles/2...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question