Copied from Mojolicious::Controller, but works around a limitation of apache's mod_proxy (namely: the ProxyPassReverse directive doesn't handle authorization information in the Location header.)
It does this by explicitly using the url_base from the Clustericious config file for the app as the base for the location header.
To install Clustericious, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Clustericious
CPAN shell
perl -MCPAN -e shell install Clustericious
For more information on module installation, please visit the detailed CPAN module installation guide.