nginx rewrite rules for splat aliases are not defined as redirects
The nginx rewrite rules for spat aliases are not defined as redirects. As a result, it leads to an infinite loop. This can be fixed by adding the redirect keyword to the end of the rule.
For example:
location ^~ /component-a/current/ { rewrite ^/component-a/current/(.*)$ /component-a/1\\.0/$1 redirect; }