Home > Article > Backend Development > nginx core module instructions 1
nginx configuration has two instructions for specifying directories, root and alias
alias is the definition of a directory alias, and root is the definition of the top-level directory .
Another important difference is that alias must end with "/", otherwise the file will not be found, and root is optional