KitCatxy has asked for the wisdom of the Perl Monks concerning the following question:

I'm currently going through the catalyst tutorial, and because i have my setup proxy_pass'ing to the development _server (couldn't figure out why port 3000 wasn't being opened, another issue), my base url is 127.0.0.1:3000 where it should be test.mydomain.com:3000 How do i change $c->urlfor's result? is there a config variable i can set in myapp.conf? Yeah, im just starting out in Catalyst, and blown away already by just how awesome it is.

Replies are listed 'Best First'.
Re: Catalyst Base url
by bopfer (Novice) on Dec 27, 2017 at 04:34 UTC
    Setting "using_frontend_proxy" to 1 in your main Catalyst config file should take care of it.