I am using Cloudfront in front my EC2 instance which is running my wordpress application that was launched through Bitnami.
I have registered a SSL cert through ACM and linked it to Cloudfront but am having trouble configuring the wordpress site to handle the assets correctly.
I am currently having the error of unsafe scripts being blocked on the site (all css and js) I have tried using the plugin Insecure content fixer but have had no luck.
Site is: www.acutefabrication.com.au
My cloudfront settings:
I ended up solving this by modifying my wp-config file and adding the "s" to the http: in these two lines, that plus the plugin seemed to do the trick.
define('WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST'] . '/');
define('WP_HOME', 'https://' . $_SERVER['HTTP_HOST'] . '/');
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.