I moved my site from http to https. I changed all template content to ssl, but the images in old posts are still served with http.
How to catch all images and rewrite them to ssl with Nginx?
It's very primitive method but works in any case;
http://example.com
, replace with https://example.com
and save.
Settings->General: Wordpress URL / Site URL
).