Skip to content

Instantly share code, notes, and snippets.

@pstoute
Created November 17, 2023 21:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pstoute/47539c4e4eb955b02f2dffdaa4b9e139 to your computer and use it in GitHub Desktop.
Save pstoute/47539c4e4eb955b02f2dffdaa4b9e139 to your computer and use it in GitHub Desktop.
This is the http context file that you need to add to whitelist the IP addresses for WP-Umbrella
geo $wpumbrella_ips {
default 0;
2001:41d0:306:1702::/64 1;
141.95.192.2 1;
}
@pstoute
Copy link
Author

pstoute commented Nov 17, 2023

This file needs to be added to the nginx directory to whitelist WPUmbrella on the entire server versus just one single website.

nano /etc/nginx/extra.d/_custom/wpumbrella-http-context.conf
Then paste in the file contents. Test and reload Nginx
nginx -t
gp ngx reload

@pstoute
Copy link
Author

pstoute commented Nov 17, 2023

You must add this file to complete the white listing process:
https://gist.github.com/pstoute/72a68ad16d90d0f26fc9d37ca6a8c380

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment