Open peterjaap opened 6 years ago
Right now, we just use an nginx rewrite;
location ~ ^/pub/media/catalog/(.*) {
return 301 /media/catalog/$1;
}
Here's the Magento issue (https://github.com/magento/magento2/issues/8868) and another workaround; https://magento.stackexchange.com/a/167878/237
Even though the frontend might not necessarily use the
pub/media/
path but the/media
path without pub.