Some simple BeforeMiddleware
to make using Iron behind a reverse proxy easier.
Usage:
```rust extern crate ironreverseproxy;
use iron::prelude::*;
let mut ch = Chain::new(); ch.linkbefore(ironreverse_proxy::ReverseProxyMiddleware); ```
And you're done. Works particularly well with router
's url_for!
macro, as it depends on the Request.url
property, which this middleware modifies.
Licensed under the MIT, see LICENSE
.