...
server {
listen 80;
server_name localhost;
location /www/ {
root /data/;
index index.html index.htm;
}
location /image/ {
root /data/;
index index.html index.htm;
autoindex on;
}
}
...