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

Juan Cardelino juanc at fing.edu.uy
Wed Mar 16 23:43:25 CET 2011


> 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?



More information about the discuss mailing list