zevnikrok opened a new issue #1642: Error: Resource based on <image.jpg> but 
cannot access the original
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1642
 
 
   We have an nginx as a caching proxy server in front of apache server.
   All the static content is served by nginx, php files are forwarded to apache.
   
   In our message_history we are getting lots of intermittent errors of type:
   [xlogo-small.png:0] Resource based on 
https://www.hostname.com/docs/img/logo-small.png but cannot access the original
   
   These errors occur randomly on random files (the example above is a regular 
static image).
   
   Relevant nginx/pagespeed config:
   
           location ^~ /docs/ {
                   try_files $uri @not_found;
                   expires 366d;
                   add_header Pragma public;
                   add_header Cache-Control "public";
           }
           location @not_found {
                   return 404;
           }
   
           pagespeed Domain https://*.hostname.*;
           pagespeed MapOriginDomain https://127.0.0.1 https://*.hostname.*;
   
   Thank you for your help.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to