Created
March 21, 2022 23:33
-
-
Save pstoute/409bd04c7171c039ab1516d024122f16 to your computer and use it in GitHub Desktop.
Add the webgility IP address to your 7G whitelist.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($remote_addr ~* "54.69.99.71") { | |
set $7g_drop_bad_request 0; | |
set $7g_drop_bad_referer 0; | |
set $7g_drop_bad_query_string 0; | |
set $7g_drop_not_allowed_method 0; | |
set $7g_drop_bad_bot 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a quick gist for folks who use the 7G firewall and Webgility to manage your WooCommerce store. Add this file via root access to your nginx extras location and make sure that your server configuration will add the added context file.
The location for GridPane powered servers:
nano /etc/nginx/extra.d/webgility-7g-context.conf
After you've added the context file, you'll need to restart Nginx
nginx -t
gp ngx reload