What is the difference between alias and root

Igor Sysoev igor at sysoev.ru
Sun Sep 12 13:17:35 MSD 2010

On Sat, Sep 11, 2010 at 09:35:10PM -0700, James Matthews wrote:

> I was wondering what the difference was between alias and root in the server
> block on nginx was?
> They seem to provide the same functionality.

The alias is supported on a location level only for the obvious reason.

Igor Sysoev

More information about the nginx mailing list