Anyway to debug Fastly origin headers from curl?
I know we can use -H “Fastly Debug:1” header but i’m looking for a way to check when fastly set headers hitting orgin (True Client IP for intance).
Is there any headers or value we can set to be sure headers are set? or the debug the whole fastly session?
-
Well, you would see the delta between what headers got sent to Fastly and what headers got sent to your origin.
If you use something like
curl -svo /dev/null http://www.example.com/foo/bar
it will return the headers sent to Fastly. You would just need to compare that to what headers reach your origin and you should have your answer, unless I'm missing something.
Please sign in to leave a comment.
Comments
3 comments