Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We have a fairly simple setup, with SSL enabled, no far future expiration. Everything works well, except there is one weird glitch - the ttf files are somehow missing from the CDN (we get a 404 on them - see screenshot attached.) All other files load fine.
I have this line in the CDN mapping configuration.
https://diyj5eu7hb0yc.cloudfront.net|.css .js .ico .gif .jpg .jpeg .png .svg .otf .ttf
Nothing is blacklisted. I did not explicitly whitelist the ttf files, because it didn't seem necessary.
Comment | File | Size | Author |
---|---|---|---|
cnd_ttf.png | 47.86 KB | Anonymous (not verified) |
Comments
Comment #1
Wim LeersThat's… very odd. All the CDN module can do is altering the file URL, it's then up to the Origin Pull to talk to the origin and retrieve it. Therefor, either the CDN is malfunctioning, or your origin is indeed serving a 404 to the CDN. It's especially bizarre that the last TTF file in that screenshot *does* work, but the two above it *don't*!
Can you still reproduce this?
Comment #2
Wim Leers.