Custom Firewall Rules

If you want to exclude or include IPs from a store-specific firewall you can do this by adding IP to the local rule file.

In order to add custom IP excludes on a WooCart store (allowing IP):

  1. Create or upload a file to the wp-content directory named .nginx-allow-ip (file needs to start with a dot)
  2. Add IPs, where each IP is in a new line.
  3. Go to the WP-CLI tab and click on Restart Workers in the toolbar.

In order to add custom IP includes on a WooCart store (blocking IP):

  1. Create or upload a file to the wp-content directory named .nginx-deny-ip (file needs to start with a dot)
  2. Add IPs, where each IP is in a new line.
  3. Go to the WP-CLI tab and click on Restart Workers in the toolbar.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us