Still get mixed content with protocol relative URL
-
Hi.
Still get mixed content after installing your add-on.
Browser’s console have those messages:
Loading mixed (insecure) active content "https://domain.com/wp-includes/js/jquery/jquery-migrate.min.js" on a secure page
But in page source, there lines like this:
<script type='text/javascript' src='//domain.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script>
My setup is: AWS Load Balancer –> nginx –> apache2
Having those lines in nginx config:proxy_set_header X-Forwarded-Proto https; proxy_pass_request_headers on;
apache:
SetEnvIf X-Forwarded-Proto https HTTPS=on
wp-config.phpif (stripos(get_option('siteurl'), 'https://') === 0) { $_SERVER['HTTPS'] = 'on'; } define('FORCE_SSL_LOGIN', true); define('FORCE_SSL_ADMIN', true);
https://www.ads-software.com/plugins/ssl-insecure-content-fixer/
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Still get mixed content with protocol relative URL’ is closed to new replies.