
11 Mar
2010
11 Mar
'10
7:39 a.m.
Hi Dmitry, On Thu, Mar 11, 2010 at 11:38:44AM +0300, Dmitry V'yal wrote:
Hello haskellers,
I want to host a simple happstack application behind a reverse proxy. So ideally would be to bind it to localhost only.
According to http://hackage.haskell.org/packages/archive/happstack-server/0.4.1/doc/html/... Conf datatyle has only Port field. Does it mean, there is currently no way to prevent binding happstack to all available interfaces?
I think you are looking for simpleHTTPWithSocket [1]. You can use whatever socket you like.
Regards, Dmitry
Cheers, Martin [1] http://happstack.com/docs/0.4/happstack-server/Happstack-Server-SimpleHTTP.h...