diff --git a/apache/vhosts/proxy.tmpl b/apache/vhosts/proxy.tmpl index 5c6115c..d94f310 100644 --- a/apache/vhosts/proxy.tmpl +++ b/apache/vhosts/proxy.tmpl @@ -18,6 +18,7 @@ 'LogFormat': site.get('LogFormat', '"%h %l %u %t \\\"%r\\\" %>s %O"'), 'CustomLog': site.get('CustomLog', '{0}/{1}-access.log'.format(map.logdir, sitename)), + 'ProxyRequests': site.get('ProxyRequests', 'Off'), 'ProxyPreserveHost': site.get('ProxyPreserveHost', 'On'), 'ProxyRoute': site.get('ProxyRoute', {}), } %} @@ -44,7 +45,7 @@ SSLCertificateChainFile {{ site.SSLCertificateChainFile}} {% endif %} {% endif %} - + ProxyRequests {{ vals.ProxyRequests }} ProxyPreserveHost {{ vals.ProxyPreserveHost }} {% for proxy, proxyargs in vals.ProxyRoute|dictsort|reverse %} {% set proxyvals = { diff --git a/pillar.example b/pillar.example index 9ad1070..34ffe80 100644 --- a/pillar.example +++ b/pillar.example @@ -85,6 +85,7 @@ apache: # RedirectTarget: 'http://www.example.net' # if template is 'proxy.tmpl' + # ProxyRequests: 'On' # ProxyPreserveHost: 'On' # ProxyRoute: # my sample route: