mirror of
https://github.com/exploitfate/cfip.git
synced 2026-04-24 20:45:49 +03:00
Auto update script to restoring original visitor IPs cloudflare ip for nginx on ubuntu
- Shell 100%
| .gitignore | ||
| custom.txt | ||
| README.md | ||
| update.sh | ||
Auto update CloudFlare IP addresses for nginx
Thanks Marek Bosman for inspiration
INSTALL ( root user )
Clone repo
cd /opt && git clone https://github.com/exploitfate/cfip.git
chmod +x /opt/cfip/update.sh
Run script
/opt/cfip/update.sh
Add cron task ( root user )
0 0 * * * test -x /opt/cfip/update.sh && /opt/cfip/update.sh