I hereby claim:
- I am gmcmillan on github.
- I am mcmgr (https://keybase.io/mcmgr) on keybase.
- I have a public key whose fingerprint is 1AE8 6C97 4E2B 903B 250C 0A63 5B88 A21A 0B47 7BB5
To claim this, I am signing this object:
| # Note: POST requests are limited to 500 domains each with the SB API, which is why this code splits it into batches | |
| require 'net/https' | |
| require 'open3' | |
| class SafeBrowsing | |
| attr_reader :opt | |
| attr_accessor :results | |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| // this goes in wp-content/mu-plugins/ssl-domain-alias.php | |
| /** | |
| * Plugin Name: SSL Domain Alias | |
| * Plugin URI: http://wordpress.stackexchange.com/questions/38902 | |
| * Description: Use a different domain for serving your website over SSL, set with <code>SSL_DOMAIN_ALIAS</code> in your <code>wp-config.php</code>. | |
| * Author: TheDeadMedic | |
| * Author URI: http://wordpress.stackexchange.com/users/1685/thedeadmedic |
#####EDIT: NB Ban is technically different from Purge. Banned objects remain in memory but banning is faster than purging. Read the Varnish 3 documentation here and here.
Purge may be a more appropriate action for your use-case; although the examples in the gist below work, it's not necessarily the best way of doing this.