root works, alias doesn't

Grant emailgrant at gmail.com
Wed Oct 2 19:02:30 UTC 2013


>> 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.

Many thanks Valentin.

- Grant



More information about the nginx mailing list