On Mon, Feb 15, 2010 at 12:40 AM, Timothy Perrett
timo...@getintheloop.eu wrote:
The context header stuff was removed because it was tottlay broke ;-)
Check LiftRules for the context calculator - you should be able to
dynamically set it from whatever value you want. I'll post an example
In boot:
LiftRules.calculateContextPath = () = Full(/yourcontext)
Im not using NGINX for that particular application as we use windows at work,
so I cant share a config file.
However, if you post what you have i'll try to wield my NGINX jedi skillz!
Cheers, Tim
On 15 Feb 2010, at
On Mon, Feb 15, 2010 at 12:29 PM, Timothy Perrett
timo...@getintheloop.eu wrote:
In boot:
LiftRules.calculateContextPath = () = Full(/yourcontext)
Oh, that was easy :-) I'll try it out late today
Im not using NGINX for that particular application as we use windows at work,
so I
What's with the ERB markup?
BTW, im confused about why you don't handle this host selection thing in the
lift code and just read the host name? What is the use case here? A mobile site
or something similar?
Also, now seeing that you want to work on a request by request basis, im not
sure
On Mon, Feb 15, 2010 at 4:27 PM, Timothy Perrett
timo...@getintheloop.eu wrote:
What's with the ERB markup?
Sorry, lazy cut'n paste from a Chef template.
BTW, im confused about why you don't handle this host selection thing in the
lift code and just read the host name? What is the use case
Hi,
I'm trying to host several lift apps on a single server using jetty
(one context per app) and nginx in front.
I want to have
www.domain1.com goes to lift app localhost/domain1
www.domain2.com goes to lift app localhost/domain2
It seems like what happens is that nginx correctly forwards
The context header stuff was removed because it was tottlay broke ;-)
Check LiftRules for the context calculator - you should be able to
dynamically set it from whatever value you want. I'll post an example
tomorrow if you need one.
Cheers, Tim
Sent from my iPhone
On 14 Feb 2010, at