middleman/middleman-core/fixtures/more-traversal-app/config.rb

8 lines
300 B
Ruby
Raw Normal View History

activate :directory_indexes
page "/sub/fake.html", proxy: "/proxied.html", ignore: true
page "/sub/fake2.html", proxy: "/proxied.html", ignore: true
page "/directory-indexed/fake.html", proxy: "/proxied.html", ignore: true
page "/directory-indexed/fake2.html", proxy: "/proxied.html", ignore: true