ok point taken, apologies, and I do appreciate the help.

taking a step back, maybe I've slightly misunderstood how to configure
Toadfarm.

What's confusing me is the mount points, and how I can use those with my
configuration.
I've written a few applications, they each have a startup script which uses
morbo. some urls are duplicated across the applications e.g
domain1.com/login   domain2.com/login
Going to domain1.com , domain2.com, domain3.com works, and there are no
problems.  (except that I'm running several instances of morbo, where I
would like to run one instance of hypnotoad)

Now I'm struggling to integrate that with Toadfarm, behind nginx as a
reverse proxy.
https://metacpan.org/pod/distribution/Toadfarm/lib/Toadfarm/Manual/BehindReverseProxy.pod
If I use the example as stated then it works, but only for domain1.com/myapp
.
Can you advise a simple config for Toadfarm to reflect my usage above ?

On Sun, Apr 26, 2015 at 6:44 PM, Jan Henning Thorsen <[email protected]
> wrote:

> Please don't say code you haven't run doesn't work or doesn't work the way
> you expect.
>
> It makes it impossible to help.
>
>
> On 26. apr. 2015, at 17.22, mjb152 <[email protected]> wrote:
>
> that was a bad example from my side, I'll play with the config below and
> transfer in another domain to test it ..
>
> mount "/home/mojouser/apps/test1/script/test1" => { Host => "domain1.com",
> };
> mount "/home/mojouser/apps/test1/script/test2" => { Host => "domain2.com",
> };
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Mojolicious" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/mojolicious/WFh3C3elp9Y/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/mojolicious.
> For more options, visit https://groups.google.com/d/optout.
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Mojolicious" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/mojolicious/WFh3C3elp9Y/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/mojolicious.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to