Cloudfront Redirects to Origin only when Static Content Signing is Enabled
-
14-04-2021 - |
La solution
I've found the solution to this issue.
My web root is MagentoDir/pub
. In pub/static/.htaccess
, the RewriteBase was set to /pub/static
. When I changed that value to /static/
, restarted apache and flushed Magento's caches, the problem was solved.
Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange