r7236 - branches/1.5/turbogears/qstemplates/quickstart

1 view
Skip to first unread message

svn-c...@turbogears.org

unread,
Mar 1, 2011, 1:34:18 PM3/1/11
to turbogear...@googlegroups.com
Author: chrisz
Date: Tue Mar 1 12:34:16 2011
New Revision: 7236
URL: http://trac.turbogears.org/changeset/7236

Log:
Properly adjusted proxy tools config settings to CherryPy 3.

Modified:
branches/1.5/turbogears/qstemplates/quickstart/sample-prod.cfg_tmpl

Modified: branches/1.5/turbogears/qstemplates/quickstart/sample-prod.cfg_tmpl
==============================================================================
--- branches/1.5/turbogears/qstemplates/quickstart/sample-prod.cfg_tmpl Sat Feb 19 15:54:23 2011 (r7235)
+++ branches/1.5/turbogears/qstemplates/quickstart/sample-prod.cfg_tmpl Tue Mar 1 12:34:16 2011 (r7236)
@@ -59,16 +59,12 @@

# Set to True if you are deploying your App behind a proxy
# e.g. Apache using mod_proxy
-# tools.proxy.on = False
-
-# Set to True if your proxy adds the x_forwarded_host header
-# tools.proxy.use_x_forwarded_host = True
-
-# If your proxy does not add the x_forwarded_host header, set
-# the following to the *public* host url.
-# (Note: This will be overridden by the use_x_forwarded_host option
-# if it is set to True and the proxy adds the header correctly.
-# tools.proxy.base_url = "http://www.example.com"
+tools.proxy.on = True
+# Set if your proxy adds the X-Forwarded-Host header
+tools.proxy.local = 'X-Forwarded-Host'
+# If your proxy does not add the X-Forwarded-Host header, set
+# tools.proxy.local = '' and the following to the *public* host url
+# tools.proxy.base = 'http://www.example.com'

# Set to True if you'd like to abort execution if a controller gets an
# unexpected parameter. False by default

Reply all
Reply to author
Forward
0 new messages