Hi,

It would be nice to be able to reject all incoming requests to unicorn if they do not originate from our upstream http server.

An additional parameter to the listen statement is perhaps the best way to achieve this :

server.listen(addr, :tries => -1, :delay => 5, :backlog => 128, :upstream => '10.0.0.1')

This param could be a string or an array of IP addresses.

I read the documentation but did not find any way to achieve this.

Best regards,

--
Manuel Valente
prixing.fr

_______________________________________________
Unicorn mailing list - [email protected]
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

Reply via email to