[Catalyst] $c->uri_for and $c->uri_for_action ignoring https

Robert Brown rob at intelcompute.com
Sat Oct 2 15:05:56 GMT 2021


My first thought is...

https://metacpan.org/pod/Catalyst#PROXY-SUPPORT


On 02/10/2021 14:35, Chris Welch wrote:
> Hi everyone
>
> In my infinite(!) wisdom, I decided to do a complete server rebuild 
> before people will start using my website again next month. This 
> previously was working correctly, however now even though the page is 
> being served over https, all the links (which use $c->uri_for and 
> $c->uri_for_action) are returning http versions, which is causing the 
> style sheets to fail to load for one thing, but also form submissions 
> are going over http.
>
> Some things that may be pertinent:
>
>   * Using nginx / Starman (same as before).
>   * This is using a letsencrypt certificate, which it was before, but
>     when I set it up before there wasn't a certbot to automate it, so
>     it was done manually.
>   * Website in case it's useful: https://www.mkttl.co.uk/
>     <https://www.mkttl.co.uk/>
>   * Catalyst version is now the latest - previously I *think* it
>     was 5.90118, but unfortunately can't be sure.
>
> Thank you in advance for any suggestions!
>
>
> Chris
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/catalyst/attachments/20211002/62e063c2/attachment.htm>


More information about the Catalyst mailing list