Lofesa commented on issue #1742: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1742#issuecomment-1085978528
Hi Maybe you need to create the proxied folders? I mean `/var/www/domain-com/img/` A far time ago I have tried this, create the directory for the proxied assets and the directive are like: `pagespeed MapProxyDomain "https://www.domain.com/img/" "https://img.domain.com/";` Note the last /. But maybe the 404 comes because pagespeed search the assets in https cache and it is stored in http. Do you have a /dev/shm/ngx_pagespeed_cache/v3/domain.com/https folder? What do you have in the img.domain.com logs? Is pagespeed fechting the resources as http? In the html code the images are like src="//img.domain.com/some.image.jpg"? can you try to add the protocol, https? And maybe you can try: pagespeed MapOriginDomain http://img.domain.com/ https://img.domain.com/ pagespeed MapRewriteDomain https://www.domain.com/img/ https://img.domain.com/ pagespeed MapProxyDomain http://www.domain.com/ http://img.domain.com Maybe this config need pagespeed Domain http*://www.domain.com/ to set both http and https domains. -- 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. To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org