correct usage of location context?

Szymon Polom sp at winterstille.net
Sat Jun 13 19:18:38 MSD 2009


Avleen Vig wrote:

> This is almost correct except that the OP forgot one important detail 
> which I got from him on IRC last night. 'test' is not a directory on his 
> filesystem.
> 
> Thus, requests for /var/www/test would fail with 'No such file or 
> directory'.
> 
> This is why think he needs an alias :)

Yeah, I'm sorry for the confusion, I need all use cases (root, alias and 
base url for some additional modules).






More information about the nginx mailing list