2012-10-12 06:19:15 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
2014-05-27 02:58:35 +02:00
|
|
|
proxy "/fake.html", "/real.html", layout: false
|
|
|
|
proxy "fake2.html", "/real.html", layout: false
|
|
|
|
proxy "fake3.html", "real.html", layout: false
|
|
|
|
proxy "/fake4.html", "real.html", layout: false
|
2012-10-12 06:19:15 +02:00
|
|
|
|
2014-05-27 02:58:35 +02:00
|
|
|
proxy "/target_ignore.html", "/should_be_ignored3.html", ignore: true
|
|
|
|
proxy "target_ignore2.html", "/should_be_ignored6.html", ignore: true
|
|
|
|
proxy "target_ignore3.html", "should_be_ignored7.html", ignore: true
|
|
|
|
proxy "/target_ignore4.html", "should_be_ignored8.html", ignore: true
|
2012-10-12 06:19:15 +02:00
|
|
|
|
|
|
|
%w(one two).each do |num|
|
2014-05-27 02:58:35 +02:00
|
|
|
proxy "/fake/#{num}.html", "/real/index.html", ignore: true, locals: { num: num }
|
|
|
|
proxy "fake2/#{num}.html", "/real/index.html", ignore: true, locals: { num: num }
|
|
|
|
proxy "fake3/#{num}.html", "real/index.html", ignore: true, locals: { num: num }
|
2012-10-12 06:19:15 +02:00
|
|
|
end
|
|
|
|
|
2014-05-27 02:58:35 +02:00
|
|
|
proxy "明日がある.html", "/real.html", layout: false
|