Browse Source

Make proxies order stable

master
Jonathan Ballet 9 years ago
parent
commit
74e4c4d7d5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      apache/vhosts/proxy.tmpl

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

{% if site.get('CustomLog') != False %}CustomLog {{ vals.CustomLog }} {{ vals.LogFormat }}{% endif %} {% if site.get('CustomLog') != False %}CustomLog {{ vals.CustomLog }} {{ vals.LogFormat }}{% endif %}


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

Loading…
Cancel
Save