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

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

Issue 29481679: #1975 - Introduce class adblockplus::web::redirector (Closed)
Patch Set: Fix examples section in class documentation Created July 6, 2017, 5:12 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 | « modules/adblockplus/manifests/web/redirector.pp ('k') | modules/private-stub/hiera/hosts.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Puppet: <%= @title %>
2
3 # http://hub.eyeo.com/issues/1975
4 location /
5 {
6 <%- @targets.sort.each do |key, target| -%>
7 rewrite ^/<%= key %>(/.*)?$ "<%= target %>" break;
8 <%- end -%>
9 rewrite ^/.*$ "<%= @default %>" last;
10 }
11
OLDNEW
« no previous file with comments | « modules/adblockplus/manifests/web/redirector.pp ('k') | modules/private-stub/hiera/hosts.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld