allowed_hosts v0.1.1 AllowedHosts

This plug protects your websites and APIs from "Host header attack".

Example

pipeline :browser do

plug AllowedHosts, ["example.com", "example2.com"]

end