Jinja's reverse
is a filter, use it accordingly
This commit is contained in:
parent
0e2dd72e43
commit
3f4a7667f7
@ -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…
Reference in New Issue
Block a user