nginx points the sub-directory of an alias folder to the base directory
- by Starry
I am new to Nginx. Now I have a confusion on nginx configurations:
My web site contains folders in different locations:
location / {
root /Path1
}
location ^~ /personal {
alias /Path2
}
When I query http://mysite/personal, I am accessing the content of /Path2 instead of /Path1
Now I want to add a sub-directory in /personal with specific…