Add 404 generic message to avoid wp processing 404 pages on images and related static files
Configure nginx to throw 404 if images file not found, preventing wp from processing.