Explorar el Código

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

master
Jonathan Ballet hace 9 años
padre
commit
3f4a7667f7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      apache/vhosts/proxy.tmpl

+ 1
- 1
apache/vhosts/proxy.tmpl Ver fichero

@@ -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)),

Cargando…
Cancelar
Guardar