Opened 18 months ago
Closed 18 months ago
#2295 closed defect (invalid)
Incorrect path in beginners_guide.html
|Reported by:||Owned by:|
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
Change History (1)
comment:1 by , 18 months ago
|Status:||new → closed|
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
root /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.