uhlhosting commented on issue #1720:
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1720#issuecomment-734598617


   <img width="1591" alt="image" 
src="https://user-images.githubusercontent.com/6324047/100405353-b74b6800-3063-11eb-9b70-e7bc20102f2b.png";>
   this seems to be the differences between the two https://uhl.site locations. 
I think my domain mapping and the way it loads might not be best way optimised.
   
   I am wondering based on my deployment, how would this config look like?
   
   ```
   pagespeed ShardDomain https://realdomain.com;
   pagespeed MapRewriteDomain https://realdomain.com https://www.realdomain.com;
   pagespeed MapOriginDomain "http://localhost"; "https://realdomain.com";;
   pagespeed Domain https://*.realdomain.com;
   pagespeed LoadFromFile "https://another.com/"; 
"/home/nginx/domains/realdomain.com/public";
   pagespeed LoadFromFileMatch "^https?://*.shard.ed/~([^/]*)/" 
"/home/nginx/domains/realdomain.com/public\\1";
   pagespeed BlockingRewriteKey "fullyoptimized";
   ```
   
   Will this work?
   
   ```
   pagespeed ShardDomain https://uhl.site;
   pagespeed MapRewriteDomain https://uhl.site https://www.uhl.site;
   pagespeed MapOriginDomain "http://localhost"; "https://uhl.site";;
   pagespeed Domain https://*.uhl.site;
   pagespeed LoadFromFile "https://uhl.site/"; "/www/wwwroot/uhl.site";
   pagespeed LoadFromFileMatch "^https?://*.uhl.site/~([^/]*)/" 
"/www/wwwroot/uhl.site\\1";
   pagespeed BlockingRewriteKey "fullyoptimized";
   ```
   
   Also for the https I understand correctly it requires the local ssl ca from 
each OS loaded. Not the self signed or bought domain SSL.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to