posted on 3rd Apr, 2019
How to rewrite @2x retina image URLs with NGINX
Recently I noticed that one of our client websites was creating many 404 “not found” errors in our NGINX server logs. The errors were for “@2x.jpg” static files. I believe that the active WordPress theme was coded to server @2x file URLs for retina and other HDPI screens, but the files are not automatically generated.