Index: modules/adblockplus/templates/web/redirector.conf.erb |
=================================================================== |
--- a/modules/adblockplus/templates/web/redirector.conf.erb |
+++ b/modules/adblockplus/templates/web/redirector.conf.erb |
@@ -3,7 +3,7 @@ |
# http://hub.eyeo.com/issues/1975 |
location / |
{ |
-<%- @targets.sort.each do |key, target| -%> |
+<%- @targets.sort.reverse.each do |key, target| -%> |
rewrite ^/<%= key %>(/.*)?$ "<%= target %>" break; |
<%- end -%> |
rewrite ^(/.*)$ "<%= @default %>" last; |