mch0lic commented on issue #1742: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1742#issuecomment-1087194918
`Maybe you need to create the proxied folders? I mean /var/www/domain-com/img/` I've tried that as well, no observable difference. `In the html code the images are like src="//img.domain.com/some.image.jpg"? can you try to add the protocol, https?` It's always with 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. ``` With ?PageSpeedFilters=+debug I see the debug messages like this for all img.domain.com images: Uncacheable content, preventing rewriting of https://img.domain.com/0416425d-81f4-4f48-ab83-c3dc7a1a2e39/228x228/de65085msjpg.jpg Note: http traffic is always redirected: ``` server { listen 80; server_name www.domain.com; location /.well-known/acme-challenge/ { root /var/www/letsencrypt.challenges; } location / { return 301 https://$host$request_uri; } } ``` -- 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