Hello, I need to change the settings of ips cloudflare.
I would like to know if you just add it to nginx.conf or I have to release it in failban.
Another issue, I think about removing the “set_real_ip_from” entries from the nginx.conf file and adding “include /etc/nginx/cloudflare.conf”
inside these files i will put the ips cloudflare and make a script to update this file.
my doubt is, if i change the nginx.conf file, if any update can end up removing my changes, if there is any way to not let it change.
1 Like
eris
April 9, 2021, 7:34pm
2
We release an update soon with all the releated changes.
So far the changes are aren’t causing any issues for anybody. The only changes are that Cloudflare has removed 104.28.0.0/14 ips from the public facing ip. Just wait and you are fine.
1 Like
eris
April 10, 2021, 7:09am
3
If you want to update them now:
sed -i 's/ set_real_ip_from 104.16.0.0\/12;/ set_real_ip_from 104.16.0.0\/13;\n set_real_ip_from 104.24.0.0\/14;/g' /etc/nginx/nginx.conf
Will do the trick
1 Like
system
Closed
May 10, 2021, 7:09am
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.