root works, alias doesn't
    Valentin V. Bartenev 
    vbart at nginx.com
       
    Wed Oct  2 18:22:46 UTC 2013
    
    
  
On Wednesday 02 October 2013 20:22:17 Grant wrote:
[..]
> 
> That's true.  Is alias or root preferred in this situation for performance?
> 
The "root" directive is better from any point of view.  It is less complicated
and bugfree ("alias" has bugs, see https://trac.nginx.org/nginx/ticket/97 ).
You should always prefer "root" over "alias" when it is possible.
  wbr, Valentin V. Bartenev
    
    
More information about the nginx
mailing list