[IPOL discuss] running the demo server behind a reverse proxy

Nicolas Limare nicolas.limare at cmla.ens-cachan.fr
Fri Mar 18 03:56:32 CET 2011


On Wed, Mar 16, 2011 at 07:43:25PM -0300, Juan Cardelino wrote:
> > server.socket_host and server.socket_port only indicate which network
> > IP and port the demo should listen on. To customize the URLs when
> > behind a proxy, remove your "fast hacks" and add these settings:
> >
> >    tools.proxy.on = True
> >    tools.proxy.base = 'ihttp://ie.fing.edu.uy/ipol/'
> >    tools.proxy.local = ''
> >
> > More doc on the cherrypy site:
> >    http://www.cherrypy.org/wiki/BuiltinTools#tools.proxy
> >
> 
> these variables  goes in the demo.conf right?

Yes exactly. I should have written it explicitely.

-- 
Nicolas LIMARE - CMLA - ENS Cachan    http://www.cmla.ens-cachan.fr/~limare/
IPOL - image processing on line                          http://www.ipol.im/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://tools.ipol.im/mailman/archive/discuss/attachments/20110318/f9324b3e/attachment-0001.pgp>


More information about the discuss mailing list