I need to return error 404 in when an image is not found on the server, but it is returning http code 200.
This problem is happening because the server uses caching varnish and the support made me believe that the error of the images is turned on because it is not returning the 404 status and 200 status.
They said the following:
I need fallback images to be delivered with status 404
.
I honestly do not know where to start doing this.
I thought of some rule in htaccess
What do you suggest?