Documentation / Beginner's Guide error
ericreiss
nginx-forum at nginx.us
Wed Jul 23 17:35:31 UTC 2014
Just getting started with NGINX and reading the Beginner's Guide.
The guide says to create two directories:
/data/www
/data/images
Then goes on to tell you to setup two locations:
location / {
root /data/www;
}
and
location /images/ {
root /data;
}
Then says the results should look like this:
server {
location / {
root /data/www;
}
location /images/ {
root /data;
}
}
Isn't the second location root path incorrect? It is missing the /images
subfolder.
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252003,252003#msg-252003
More information about the nginx
mailing list