© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
404 on /cdn-cgi/image/ when deploying Astro - Cloudflare Developers
CD
Cloudflare Developers
•
2y ago
•
10 replies
Kiwi
404 on /cdn-cgi/image/ when deploying Astro
I am deploying an Astro site which rewrites my image reference to be
https://mydomain/cdn-cgi/image/width=512,height=512,format=webp/_astro/myimage.png
This gives a 404 error when accessed
. The source image
/
_astro
/myimage
.png loads as expected
.
Why would
/cdn
-cgi
/image not be returning
?
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
86,942
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Error deploying Astro Site
CD
Cloudflare Developers / pages-help
4y ago
SyntaxError: Unexpected token 'with' when deploying Astro Project
CD
Cloudflare Developers / pages-help
2y ago
Deploying an Astro app to Cloudflare Pages
CD
Cloudflare Developers / pages-help
11mo ago
How to Debug 500 Error After Deploying Astro
CD
Cloudflare Developers / pages-help
2y ago