Cloudfront Redirects to Origin only when Static Content Signing is Enabled
-
14-04-2021 - |
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.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange