Browse Source

Jinja's `reverse` is a filter, use it accordingly

tags/v0.37.4
Jonathan Ballet 9 years ago
parent
commit
3f4a7667f7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      apache/vhosts/proxy.tmpl

+ 1
- 1
apache/vhosts/proxy.tmpl View File

@@ -35,7 +35,7 @@
{% if site.get('CustomLog') != False %}CustomLog {{ vals.CustomLog }} {{ vals.LogFormat }}{% endif %}

ProxyPreserveHost {{ vals.ProxyPreserveHost }}
{% for proxy, proxyargs in reverse(vals.ProxyRoute.items()) %}
{% for proxy, proxyargs in vals.ProxyRoute.items()|reverse %}
{% set proxyvals = {
'ProxyPassSource': proxyargs.get('ProxyPassSource', '/'),
'ProxyPassTarget': proxyargs.get('ProxyPassTarget', 'https://{0}'.format(sitename)),

Loading…
Cancel
Save