oschaaf commented on issue #1895: Optimized image URLs 404 when using default config URL: https://github.com/apache/incubator-pagespeed-mod/issues/1895#issuecomment-498561607 so this warning is interesting: ``` Jun 03 16:13:35 myapp-pr-38 app/web.1: 2019/06/03 23:13:34 [warn] 132#0: [ngx_pagespeed 1.13.35.2-0] xhero,402x-703e0140208613824bbbc7c0a4265a1927f80a1bd0aee3c9a463cd2a7db20926.jpg:0:Resource based on http://myapp-pr-38.herokuapp.com/assets/h...@2x-703e0140208613824bbbc7c0a4265a1927f80a1bd0aee3c9a463cd2a7db20926.jpg but cannot access the original ``` Apparently the module isn't able to fetch http://myapp-pr-38.herokuapp.com/assets/h...@2x-703e0140208613824bbbc7c0a4265a1927f80a1bd0aee3c9a463cd2a7db20926.jpg Figuring out why that is is key tot the problem. Fortunately, the log shows the incoming request from the module which attempted to fetch the resource as well. It responds to pagespeed with: http proxy status 301 "301 Moved Permanently" Indicating the resource is moved to https://myapp-pr-38.herokuapp.com/assets/h...@2x-703e0140208613824bbbc7c0a4265a1927f80a1bd0aee3c9a463cd2a7db20926.jpg Setting up `MapOriginDomain` to avoid these redirects ought to solve the problem
---------------------------------------------------------------- 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 With regards, Apache Git Services