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

Delta Between Two Patch Sets: modules/adblockplus/templates/web/static.conf.erb

Issue 29689695: #7320 - Introduce helpcenter role (Closed)
Left Patch Set: Created Feb. 5, 2018, 5:59 p.m.
Right Patch Set: Some improvements Created Feb. 9, 2018, 1:37 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « modules/adblockplus/manifests/web/static.pp ('k') | modules/private-stub/hiera/hosts.yaml » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 # Puppet: <%= @title %> 1 # Puppet: <%= @title %>
2 2
3 root /var/www/<%= @domain %>; 3 root /var/www/<%= @domain %>;
4 index index index.html; 4 index index;
5 default_type text/html; 5 default_type text/html;
6 charset utf-8; 6 charset utf-8;
7 7
8 set $index_page "index"; 8 set $index_page "index";
9 9
10 <% if @custom_config %> 10 <% if @custom_config %>
11 <%= @custom_config %> 11 <%= @custom_config %>
12 <% end %> 12 <% end %>
13 13
14 location / 14 location /
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 location ~ ^/([a-z][a-z])(/.+) 71 location ~ ^/([a-z][a-z])(/.+)
72 { 72 {
73 if (!-e "$document_root$uri") 73 if (!-e "$document_root$uri")
74 { 74 {
75 # if there is no language translation, try canonical page for default langua ge 75 # if there is no language translation, try canonical page for default langua ge
76 # example /es/page -> /page 76 # example /es/page -> /page
77 rewrite ^/([a-z][a-z])(/.+) $2 redirect; 77 rewrite ^/([a-z][a-z])(/.+) $2 redirect;
78 } 78 }
79 } 79 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld