"alias" directive may not be used inside location given

Fernando Perez lists at ruby-forum.com
Wed Jul 7 18:30:04 MSD 2010


location  ^~ /uploads/ {
   alias  /rails/uploads/production/;
}

Ok I fixed it by adding ^~ , it was a bit further down in the docs. It's 
much cleaner than using regexps.
-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list