Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ real_ip_header CF-Connecting-IP;

## Crontab
Change the location of "/opt/scripts/cloudflare-ip-whitelist-sync.sh" anywhere you want.
CloudFlare ip addresses are automatically refreshed every day, and nginx will be realoded when synchronization is completed.
CloudFlare ip addresses are automatically refreshed every day, and nginx will be reloaded when synchronization is completed.
```sh
# Auto sync ip addresses of Cloudflare and reload nginx
30 2 * * * /opt/scripts/cloudflare-ip-whitelist-sync.sh >/dev/null 2>&1
Expand Down