Available versions:
- 5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1
Example:
/opt/plesk/php/7.1/bin/php
# Keep these files out of the repo | |
/wp-content/themes/twenty* | |
/wp-content/upgrade | |
/wp-content/uploads | |
/sitemap.* | |
/wp-config.php | |
*.sql | |
# Hidden files | |
*.DS_Store |
# first we download the list of IP ranges from CloudFlare | |
wget https://www.cloudflare.com/ips-v4 | |
# set the security group ID | |
SG_ID="sg-00000000000000" | |
# iterate over the IP ranges in the downloaded file | |
# and allow access to ports 80 and 443 | |
while read p | |
do |