You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2018/05/29 12:15:21 UTC

[GitHub] shanemarsh28 commented on issue #1566: BeaconUrl uses HTTP instead of HTTPS + LoadFromFile not working

shanemarsh28 commented on issue #1566: BeaconUrl uses HTTP instead of HTTPS + LoadFromFile not working
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1566#issuecomment-392754716
 
 
   Hi, 
   
   Just to bring a little bit of comfort, I have been battling the same issue LoadFromFile issue for a number of days. Details in this thread here: https://groups.google.com/forum/#!topic/ngx-pagespeed-discuss/bPOimYVrLBA
   
   Just as a thought about your mixed content issue, I'd add update the port 80 server block to include the non www form of your domain. Something like this may help "upgrade" insecure requests:
   
   `server {
       listen 80;
       listen [::]:80;
       server_name www.example.com example.com;
       return 301 https://$host$request_uri;
   }`
   
   If your running Wordpress, be sure to add `$_SERVER['HTTPS'] = 'on';` into wp-config.php and make sure the sites URL starts with HTTPS. 
   
   Shane :)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services