fix CDN issue under SSL