Make proxies order stable

This commit is contained in:
Jonathan Ballet 2015-03-25 14:48:13 +01:00
parent 3f4a7667f7
commit 74e4c4d7d5

View File

@ -35,7 +35,7 @@
{% if site.get('CustomLog') != False %}CustomLog {{ vals.CustomLog }} {{ vals.LogFormat }}{% endif %}
ProxyPreserveHost {{ vals.ProxyPreserveHost }}
{% for proxy, proxyargs in vals.ProxyRoute.items()|reverse %}
{% for proxy, proxyargs in vals.ProxyRoute|dictsort|reverse %}
{% set proxyvals = {
'ProxyPassSource': proxyargs.get('ProxyPassSource', '/'),
'ProxyPassTarget': proxyargs.get('ProxyPassTarget', 'https://{0}'.format(sitename)),