Opened 4 years ago
Closed 4 years ago
#2295 closed defect (invalid)
Incorrect path in beginners_guide.html
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | trivial | Milestone: | |
| Component: | documentation | Version: | 1.19.x |
| Keywords: | Cc: | ||
| uname -a: | |||
| nginx -V: | irrelevant | ||
Description
In the beginners guide, section "Serving Static Content" a directive for location /images/ is created. The path is set to: "root /data;" but should be "/data/images".
Note: This error occurs in 3 places in beginners_guide.html
Note:
See TracTickets
for help on using tickets.

As long as images are in
/data/images/, and these are expected to be available via requests like/images/example.png, theroot /data;is perfectly correct. Note that path to a file is formed as <root> + <URI>, and in this case it would be /data + /images/example.png.See root directive description for additional information and examples.