I'm not 100% sure about this; I think it will enable the redirect() actions to
authorStephen Soltesz <soltesz@cs.princeton.edu>
Wed, 2 Sep 2009 18:14:00 +0000 (18:14 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Wed, 2 Sep 2009 18:14:00 +0000 (18:14 +0000)
send urls relative to the proxy host rather than the Turgobears process which
runs as 127.0.0.1 and isn't useful to a user's browser.

web/MonitorWeb/prod.cfg

index c9062b4..611d364 100644 (file)
@@ -32,7 +32,7 @@ autoreload.package="monitorweb"
 
 server.socket_host="127.0.0.1"
 server.socket_port=8082
 
 server.socket_host="127.0.0.1"
 server.socket_port=8082
-base_url_filter.on = False
+base_url_filter.on = True
 base_url_filter.use_x_forwarded_host = True
 
 #server.webpath="/monitor/"
 base_url_filter.use_x_forwarded_host = True
 
 #server.webpath="/monitor/"