On Wed, Mar 26, 2014 at 12:30:21AM -0000, Alex wrote: Hi there, > It works only when I include > one item, when I do (videos|events) it does not work > > location ^~ /(videos|events) { That is not a regex location. A request for /videos/ will not match it. http://nginx.org/r/location f -- Francis Daly francis at daoine.org