Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/adblockplus/templates/web/redirector.conf.erb

Issue 29482656: #1653 - Redirect ABP/ABB campaign links via eyeo.to (Closed)
Patch Set: Created July 7, 2017, 2:09 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « hiera/roles/web/redirect/adblockplus.yaml ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Puppet: <%= @title %> 1 # Puppet: <%= @title %>
2 2
3 # http://hub.eyeo.com/issues/1975 3 # http://hub.eyeo.com/issues/1975
4 location / 4 location /
5 { 5 {
6 <%- @targets.sort.each do |key, target| -%> 6 <%- @targets.sort.each do |key, target| -%>
7 rewrite ^/<%= key %>(/.*)?$ "<%= target %>" break; 7 rewrite ^/<%= key %>(/.*)?$ "<%= target %>" break;
8 <%- end -%> 8 <%- end -%>
9 rewrite ^/.*$ "<%= @default %>" last; 9 rewrite ^(/.*)$ "<%= @default %>" last;
10 } 10 }
11 11
OLDNEW
« no previous file with comments | « hiera/roles/web/redirect/adblockplus.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld