EDIT: after a whole night, http://iosre.com/uploads/default/original/1X/735abc46bddabe584790cf2218d5d9bbc1f2501a.png becomes http://cdn.iosre.com/uploads/default/original/1X/735abc46bddabe584790cf2218d5d9bbc1f2501a.png, so I guess it takes a while processing all URLs? I am checking more posts to double confirm.
I did rebuild after changing DISCOURSE_CDN_URL in app.yml.
I tried running rake posts:rebake, now all images with legacy URLs such as http://7xibfi.com1.z0.glb.clouddn.com/uploads/default/original/1X/735abc46bddabe584790cf2218d5d9bbc1f2501a.png become http://iosre.com/uploads/default/original/1X/735abc46bddabe584790cf2218d5d9bbc1f2501a.png, which is hosted right on the server instead of on the CDN.
What can I do to use new CDN host cdn.iosre.com for all legacy URLs?