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):
- Create or upload a file to the wp-content directory named
.nginx-allow-ip
(file needs to start with a dot) - Add IPs, where each IP is in a new line.
- 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):
- Create or upload a file to the wp-content directory named
.nginx-deny-ip
(file needs to start with a dot) - Add IPs, where each IP is in a new line.
- Go to the WP-CLI tab and click on Restart Workers in the toolbar.