If you'd like to mock the uploads of the production environment of the site you are working on. Then just (so you don't have to use a local copy of the production uploads):
All uploads with local file paths will now be served from the production site.
If you by any reason have a different structure for the uploads folder, just change it in the rule
This isn't obvious to everyone. So here's a tip!
If you'd like to mock the uploads of the production environment of the site you are working on. Then just (so you don't have to use a local copy of the production uploads):
~/data/{CONTAINER}/wp-content/uploads/.htaccess
containing (before wp directive):All uploads with local file paths will now be served from the production site. If you by any reason have a different structure for the uploads folder, just change it in the rule
Enjoy!