When the browsers attempts to fetch an image it fails to load.
Example request URL : https://example.com/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBamdCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--4d05aa0b2fcd59a4e938738a94ce4e3b34bb406b/1610143094399.jpeg
You defined this matcher, but you’re not using it anywhere
You have both file_server and reverse_proxy defined, but you’re not using a matcher to tell Caddy when to use which, so Caddy will run them in this predetermined order
Meaning that reverse_proxy will always be run, ignoring file_server. Make sure to use handle blocks with matchers to tell Caddy when to do what.
I don’t know what your intent is here, because you omitted multiple sections of the help topic template. Please properly fill it out, because I can’t help without understanding what you’re trying to do.
What I’m saying is that you haven’t actually explained what you need to have work, so I can’t really suggest anything specific. Please explain what you’re trying to do. What requests do you expect to be handled in which way?
“not working” is not specific enough. How is it not working? What behaviour are you seeing, and what do you expect to happen? I can’t help if you don’t explain.