Left: | ||
Right: |
OLD | NEW |
---|---|
(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; | |
Fred
2017/07/06 17:17:27
Didn't we want to append the original query string
mathias
2017/07/06 17:23:54
We do. That is the default behavior of the Nginx r
| |
8 <%- end -%> | |
9 rewrite ^/.*$ "<%= @default %>" last; | |
10 } | |
11 | |
OLD | NEW |