andymathieson commented on issue #1670: SVG file URLs not being mapped to CDN URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1670#issuecomment-554946378 Certainly. No problem. ``` pagespeed on; pagespeed FileCachePath /var/ngx_pagespeed_cache; pagespeed Disallow "*/admin*"; pagespeed Disallow "*/backend*"; pagespeed Disallow "*/grappelli*"; pagespeed Disallow *fonts.css*; # Honoring Content-Security-Policy Headers pagespeed HonorCsp on; # Lower-casing HTML element and attribute names pagespeed LowercaseHtmlNames on; # Pagespeed Header pagespeed XHeaderValue "Powered By ngx_pagespeed"; # Ensure requests for pagespeed optimized resources go to the pagespeed handler # and no extraneous headers get set. location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" { add_header "" ""; } location ~ "^/pagespeed_static/" { } location ~ "^/ngx_pagespeed_beacon$" { } pagespeed ImageResolutionLimitBytes 128000000; pagespeed EnableFilters convert_to_webp_lossless; pagespeed EnableFilters combine_javascript; pagespeed EnableFilters prioritize_critical_css; pagespeed LoadFromFileCacheTtlMs 315360000000; pagespeed LoadFromFile 'http://domain.co.uk/assets/' '/srv/www/domainglobal/master/domainglobal/public/'; pagespeed Domain 'https://domain.co.uk/assets'; pagespeed MapRewriteDomain 'https://cdn.cloudfront.net/assets' 'https://domain.co.uk/assets'; ```
---------------------------------------------------------------- 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