I have hosted my WordPress site on DigitalOcean Droplet along with Cloudflare. I am trying to integrate Ezoic with it. But after integration, I am getting Error 502 whenever I am trying to visit my website. When I contacted Ezoic, they told me that I have to whitelist Ezoic IPs in my host i.e. DigitalOcean. They told me that my connection is a proxy NameServer connection i.e. in my case, my Name Servers are with Cloudflare, and a reverse proxy with Ezoic is present. Can anyone help in solving this issue because I am new to all this? Can you tell me how to whitelist IPs in DigitalOcean droplet with WordPress?
The server is Apache2
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.