On 15 May 12:02, Dominique Chabord wrote:
> @cedk:
>
> 2015-05-15 11:34 GMT+02:00 Cédric Krier <[email protected]>:
>
> >>
> >>
> >> El dissabte, 22 novembre de 2014 22:58:37 UTC+1, M. Murray va escriure:
> >> >
>
> >> > 3. Has anyone deployed trytond in production behind HTTP or other
> >> > proxy?
>
> cedk : did you make something this way for demo servers ?
> is it ok for json-rpc and webdav ?
>
> I'm too considering moving from port redirection to sub-domain proxy
> on my tryton hosting farm.
Yes I used lighttpd as proxy based on host name to redirect to the right
trytond instance.
So the rules look like:
$HTTP["host"] == "demo3.6.tryton.org" {
proxy.server = ( "" =>
(( "host" => "127.3.6.1",
"port" => 8000
))
)
}
$HTTP["host"] == "demo3.4.tryton.org" {
proxy.server = ( "" =>
(( "host" => "127.3.4.1",
"port" => 8000
))
)
}
And idem for port 8080.
--
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/