Hi,
So I’ve been trying to configure so that gravatars are being loaded from the CDN I currently have. The issue is I don’t know where to put the following code:
location /blog { sub_filter 'https://secure.gravatar.com/avatar/' 'https://cdn.example.com/avatar/'; sub_filter_once off; ...
}
location /avatar { proxy_pass https://secure.gravatar.com$request_uri; }
The instructions are here: https://www.keycdn.com/blog/wordpress-gravatar-cdn/
Any clues?