On 01/21/2013 07:36 PM, Max Lapshin wrote: > What is the best way to add http authorization before cowboy_static? This, probably. https://github.com/extend/cowboy/blob/master/guide/middlewares.md -- Loïc Hoguin Erlang Cowboy Nine Nines http://ninenines.eu